Home
last modified time | relevance | path

Searched refs:polygonVerts (Results 1 - 2 of 2) sorted by relevance

/third_party/skia/src/utils/
H A DSkPolyUtils.h69 * @param polygonVerts Array of points representing the vertices of the polygon.
74 int SkGetPolygonWinding(const SkPoint* polygonVerts, int polygonSize);
79 * @param polygonVerts Array of points representing the vertices of the polygon.
83 bool SkIsConvexPolygon(const SkPoint* polygonVerts, int polygonSize);
89 * @param polygonVerts Array of points representing the vertices of the polygon.
93 bool SkIsSimplePolygon(const SkPoint* polygonVerts, int polygonSize);
100 * @param polygonVerts Array of points representing the vertices of the polygon.
106 bool SkTriangulateSimplePolygon(const SkPoint* polygonVerts, uint16_t* indexMap, int polygonSize,
H A DSkPolyUtils.cpp43 int SkGetPolygonWinding(const SkPoint* polygonVerts, int polygonSize) { in SkGetPolygonWinding() argument
50 SkVector v0 = polygonVerts[1] - polygonVerts[0]; in SkGetPolygonWinding()
52 SkVector v1 = polygonVerts[curr] - polygonVerts[0]; in SkGetPolygonWinding()
182 bool SkIsConvexPolygon(const SkPoint* polygonVerts, int polygonSize) { in SkIsConvexPolygon() argument
193 SkPoint origin = polygonVerts[0]; in SkIsConvexPolygon()
194 SkVector v0 = polygonVerts[currIndex] - polygonVerts[prevIndex]; in SkIsConvexPolygon()
195 SkVector v1 = polygonVerts[nextInde in SkIsConvexPolygon()
1587 reclassify_vertex(TriangulationVertex* p, const SkPoint* polygonVerts, int winding, ReflexHash* reflexHash, SkTInternalLList<TriangulationVertex>* convexList) reclassify_vertex() argument
1602 SkTriangulateSimplePolygon(const SkPoint* polygonVerts, uint16_t* indexMap, int polygonSize, SkTDArray<uint16_t>* triangleIndices) SkTriangulateSimplePolygon() argument
[all...]

Completed in 3 milliseconds