Searched refs:numPtsArray (Results 1 - 1 of 1) sorted by relevance
/third_party/skia/gm/ |
H A D | polygonoffset.cpp | 460 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()
|
Completed in 2 milliseconds