Searched refs:inputPolygonVerts (Results 1 - 2 of 2) sorted by relevance
/third_party/skia/src/utils/ |
H A D | SkPolyUtils.cpp | 320 bool SkInsetConvexPolygon(const SkPoint* inputPolygonVerts, int inputPolygonSize, in SkInsetConvexPolygon() argument 340 *insetPolygon->push() = inputPolygonVerts[i]; in SkInsetConvexPolygon() 346 int winding = SkGetPolygonWinding(inputPolygonVerts, inputPolygonSize); in SkInsetConvexPolygon() 356 if (!inputPolygonVerts[curr].isFinite()) { in SkInsetConvexPolygon() 360 if (compute_side(inputPolygonVerts[prev], inputPolygonVerts[curr] - inputPolygonVerts[prev], in SkInsetConvexPolygon() 361 inputPolygonVerts[next])*winding < 0) { in SkInsetConvexPolygon() 364 SkVector v = inputPolygonVerts[next] - inputPolygonVerts[cur in SkInsetConvexPolygon() 1156 is_reflex_vertex(const SkPoint* inputPolygonVerts, int winding, SkScalar offset, uint16_t prevIndex, uint16_t currIndex, uint16_t nextIndex) is_reflex_vertex() argument 1165 SkOffsetSimplePolygon(const SkPoint* inputPolygonVerts, int inputPolygonSize, const SkRect& bounds, SkScalar offset, SkTDArray<SkPoint>* offsetPolygon, SkTDArray<int>* polygonIndices) SkOffsetSimplePolygon() argument [all...] |
H A D | SkPolyUtils.h | 21 * @param inputPolygonVerts Array of points representing the vertices of the original polygon. 28 bool SkInsetConvexPolygon(const SkPoint* inputPolygonVerts, int inputPolygonSize, 36 * @param inputPolygonVerts Array of points representing the vertices of the original polygon. 45 bool SkOffsetSimplePolygon(const SkPoint* inputPolygonVerts, int inputPolygonSize,
|
Completed in 3 milliseconds