Home
last modified time | relevance | path

Searched refs:numPtsArray (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/gm/
Dpolygonoffset.cpp460 int numPtsArray[] = { 3, 4, 5, 5, 6, 8, 8, 20, 100 }; in GetConvexPolygon() local
463 SkASSERT(arrayIndex < SK_ARRAY_COUNT(numPtsArray)); in GetConvexPolygon()
464 *numPts = numPtsArray[arrayIndex]; in GetConvexPolygon()
495 int numPtsArray[] = { 5, 7, 8, 20, 100 }; in GetSimplePolygon() local
498 arrayIndex = std::min(arrayIndex, SK_ARRAY_COUNT(numPtsArray) - 1); in GetSimplePolygon()
499 SkASSERT(arrayIndex < SK_ARRAY_COUNT(numPtsArray)); in GetSimplePolygon()
500 *numPts = numPtsArray[arrayIndex]; in GetSimplePolygon()
/third_party/flutter/skia/gm/
Dpolygonoffset.cpp460 int numPtsArray[] = { 3, 4, 5, 5, 6, 8, 8, 20, 100 }; in GetConvexPolygon() local
463 SkASSERT(arrayIndex < SK_ARRAY_COUNT(numPtsArray)); in GetConvexPolygon()
464 *numPts = numPtsArray[arrayIndex]; in GetConvexPolygon()
495 int numPtsArray[] = { 5, 7, 8, 20, 100 }; in GetSimplePolygon() local
498 arrayIndex = SkTMin(arrayIndex, SK_ARRAY_COUNT(numPtsArray) - 1); in GetSimplePolygon()
499 SkASSERT(arrayIndex < SK_ARRAY_COUNT(numPtsArray)); in GetSimplePolygon()
500 *numPts = numPtsArray[arrayIndex]; in GetSimplePolygon()