Searched refs:PolygonOffsetData (Results 1 – 2 of 2) sorted by relevance
31 namespace PolygonOffsetData { namespace431 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()[all …]
43 namespace PolygonOffsetData { namespace443 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()[all …]