Lines Matching refs:PolygonOffsetData
43 namespace PolygonOffsetData { namespace
443 if (index < (int)SK_ARRAY_COUNT(PolygonOffsetData::gConvexPoints)) { in GetConvexPolygon()
445 *numPts = (int)PolygonOffsetData::gConvexSizes[index]; in GetConvexPolygon()
449 (*data)[i] = PolygonOffsetData::gConvexPoints[index][i]; in GetConvexPolygon()
453 (*data)[i] = PolygonOffsetData::gConvexPoints[index][*numPts - i - 1]; in GetConvexPolygon()
462 size_t arrayIndex = index - SK_ARRAY_COUNT(PolygonOffsetData::gConvexPoints); in GetConvexPolygon()
478 if (index < (int)SK_ARRAY_COUNT(PolygonOffsetData::gSimplePoints)) { in GetSimplePolygon()
480 *numPts = (int)PolygonOffsetData::gSimpleSizes[index]; in GetSimplePolygon()
484 (*data)[i] = PolygonOffsetData::gSimplePoints[index][i]; in GetSimplePolygon()
488 (*data)[i] = PolygonOffsetData::gSimplePoints[index][*numPts - i - 1]; in GetSimplePolygon()
497 size_t arrayIndex = index - SK_ARRAY_COUNT(PolygonOffsetData::gSimplePoints); in GetSimplePolygon()