Lines Matching refs:PolygonOffsetData
31 namespace PolygonOffsetData { namespace
431 if (index < (int)SK_ARRAY_COUNT(PolygonOffsetData::gConvexPoints)) { in GetConvexPolygon()
433 *numPts = (int)PolygonOffsetData::gConvexSizes[index]; in GetConvexPolygon()
437 (*data)[i] = PolygonOffsetData::gConvexPoints[index][i]; in GetConvexPolygon()
441 (*data)[i] = PolygonOffsetData::gConvexPoints[index][*numPts - i - 1]; in GetConvexPolygon()
450 size_t arrayIndex = index - SK_ARRAY_COUNT(PolygonOffsetData::gConvexPoints); in GetConvexPolygon()
466 if (index < (int)SK_ARRAY_COUNT(PolygonOffsetData::gSimplePoints)) { in GetSimplePolygon()
468 *numPts = (int)PolygonOffsetData::gSimpleSizes[index]; in GetSimplePolygon()
472 (*data)[i] = PolygonOffsetData::gSimplePoints[index][i]; in GetSimplePolygon()
476 (*data)[i] = PolygonOffsetData::gSimplePoints[index][*numPts - i - 1]; in GetSimplePolygon()
485 size_t arrayIndex = index - SK_ARRAY_COUNT(PolygonOffsetData::gSimplePoints); in GetSimplePolygon()