• Home
  • Raw
  • Download

Lines Matching refs:inputPolygonSize

309 bool SkInsetConvexPolygon(const SkPoint* inputPolygonVerts, int inputPolygonSize,  in SkInsetConvexPolygon()  argument
311 if (inputPolygonSize < 3) { in SkInsetConvexPolygon()
317 if (inputPolygonSize > std::numeric_limits<uint16_t>::max()) { in SkInsetConvexPolygon()
328 for (int i = 0; i < inputPolygonSize; ++i) { in SkInsetConvexPolygon()
335 int winding = SkGetPolygonWinding(inputPolygonVerts, inputPolygonSize); in SkInsetConvexPolygon()
341 SkAutoSTMalloc<64, OffsetEdge> edgeData(inputPolygonSize); in SkInsetConvexPolygon()
342 int prev = inputPolygonSize - 1; in SkInsetConvexPolygon()
343 for (int curr = 0; curr < inputPolygonSize; prev = curr, ++curr) { in SkInsetConvexPolygon()
344 int next = (curr + 1) % inputPolygonSize; in SkInsetConvexPolygon()
366 int insetVertexCount = inputPolygonSize; in SkInsetConvexPolygon()
368 unsigned int maxIterations = inputPolygonSize * inputPolygonSize; in SkInsetConvexPolygon()
1148 bool SkOffsetSimplePolygon(const SkPoint* inputPolygonVerts, int inputPolygonSize, SkScalar offset, in SkOffsetSimplePolygon() argument
1150 if (inputPolygonSize < 3) { in SkOffsetSimplePolygon()
1155 if (inputPolygonSize >= std::numeric_limits<uint16_t>::max()) { in SkOffsetSimplePolygon()
1165 for (int i = 0; i < inputPolygonSize; ++i) { in SkOffsetSimplePolygon()
1173 int winding = SkGetPolygonWinding(inputPolygonVerts, inputPolygonSize); in SkOffsetSimplePolygon()
1179 SkAutoSTMalloc<64, SkVector> normals(inputPolygonSize); in SkOffsetSimplePolygon()
1181 for (int currIndex = 0, prevIndex = inputPolygonSize - 1; in SkOffsetSimplePolygon()
1182 currIndex < inputPolygonSize; in SkOffsetSimplePolygon()
1187 int nextIndex = (currIndex + 1) % inputPolygonSize; in SkOffsetSimplePolygon()
1208 if (is_reflex_vertex(inputPolygonVerts, winding, offset, inputPolygonSize-1, 0, 1)) { in SkOffsetSimplePolygon()
1211 if (!SkComputeRadialSteps(normals[inputPolygonSize-1], normals[0], offset, in SkOffsetSimplePolygon()
1228 for (int currIndex = 0, prevIndex = inputPolygonSize - 1; in SkOffsetSimplePolygon()
1229 currIndex < inputPolygonSize; in SkOffsetSimplePolygon()
1231 int nextIndex = (currIndex + 1) % inputPolygonSize; in SkOffsetSimplePolygon()