Searched refs:polygonSize (Results 1 – 4 of 4) sorted by relevance
/external/skqp/src/utils/ |
D | SkPolyUtils.h | 71 int SkGetPolygonWinding(const SkPoint* polygonVerts, int polygonSize); 80 bool SkIsConvexPolygon(const SkPoint* polygonVerts, int polygonSize); 90 bool SkIsSimplePolygon(const SkPoint* polygonVerts, int polygonSize); 103 bool SkTriangulateSimplePolygon(const SkPoint* polygonVerts, uint16_t* indexMap, int polygonSize,
|
D | SkPolyUtils.cpp | 43 int SkGetPolygonWinding(const SkPoint* polygonVerts, int polygonSize) { in SkGetPolygonWinding() argument 44 if (polygonSize < 3) { in SkGetPolygonWinding() 51 for (int curr = 2; curr < polygonSize; ++curr) { in SkGetPolygonWinding() 171 bool SkIsConvexPolygon(const SkPoint* polygonVerts, int polygonSize) { in SkIsConvexPolygon() argument 172 if (polygonSize < 3) { in SkIsConvexPolygon() 179 int prevIndex = polygonSize - 1; in SkIsConvexPolygon() 187 for (int i = 0; i < polygonSize; ++i) { in SkIsConvexPolygon() 213 nextIndex = (currIndex + 1) % polygonSize; in SkIsConvexPolygon() 1036 bool SkIsSimplePolygon(const SkPoint* polygon, int polygonSize) { in SkIsSimplePolygon() argument 1037 if (polygonSize < 3) { in SkIsSimplePolygon() [all …]
|
/external/skia/src/utils/ |
D | SkPolyUtils.h | 74 int SkGetPolygonWinding(const SkPoint* polygonVerts, int polygonSize); 83 bool SkIsConvexPolygon(const SkPoint* polygonVerts, int polygonSize); 93 bool SkIsSimplePolygon(const SkPoint* polygonVerts, int polygonSize); 106 bool SkTriangulateSimplePolygon(const SkPoint* polygonVerts, uint16_t* indexMap, int polygonSize,
|
D | SkPolyUtils.cpp | 43 int SkGetPolygonWinding(const SkPoint* polygonVerts, int polygonSize) { in SkGetPolygonWinding() argument 44 if (polygonSize < 3) { in SkGetPolygonWinding() 51 for (int curr = 2; curr < polygonSize; ++curr) { in SkGetPolygonWinding() 182 bool SkIsConvexPolygon(const SkPoint* polygonVerts, int polygonSize) { in SkIsConvexPolygon() argument 183 if (polygonSize < 3) { in SkIsConvexPolygon() 190 int prevIndex = polygonSize - 1; in SkIsConvexPolygon() 198 for (int i = 0; i < polygonSize; ++i) { in SkIsConvexPolygon() 224 nextIndex = (currIndex + 1) % polygonSize; in SkIsConvexPolygon() 1066 bool SkIsSimplePolygon(const SkPoint* polygon, int polygonSize) { in SkIsSimplePolygon() argument 1067 if (polygonSize < 3) { in SkIsSimplePolygon() [all …]
|