Searched refs:inputPolygonSize (Results 1 – 2 of 2) sorted by relevance
/external/skia/src/utils/ |
D | SkInsetConvexPolygon.cpp | 179 bool SkInsetConvexPolygon(const SkPoint* inputPolygonVerts, int inputPolygonSize, in SkInsetConvexPolygon() argument 182 if (inputPolygonSize < 3) { in SkInsetConvexPolygon() 186 int winding = get_winding(inputPolygonVerts, inputPolygonSize); in SkInsetConvexPolygon() 199 SkAutoSTMalloc<64, EdgeData> edgeData(inputPolygonSize); in SkInsetConvexPolygon() 200 for (int i = 0; i < inputPolygonSize; ++i) { in SkInsetConvexPolygon() 201 int j = (i + 1) % inputPolygonSize; in SkInsetConvexPolygon() 211 int prevIndex = inputPolygonSize - 1; in SkInsetConvexPolygon() 213 int insetVertexCount = inputPolygonSize; in SkInsetConvexPolygon() 216 prevIndex = (prevIndex + inputPolygonSize - 1) % inputPolygonSize; in SkInsetConvexPolygon() 230 prevIndex = (prevIndex + inputPolygonSize - 1) % inputPolygonSize; in SkInsetConvexPolygon() [all …]
|
D | SkInsetConvexPolygon.h | 27 bool SkInsetConvexPolygon(const SkPoint* inputPolygonVerts, int inputPolygonSize, 31 inline bool SkInsetConvexPolygon(const SkPoint* inputPolygonVerts, int inputPolygonSize, in SkInsetConvexPolygon() argument 34 return SkInsetConvexPolygon(inputPolygonVerts, inputPolygonSize, in SkInsetConvexPolygon()
|