Lines Matching refs:inputPolygonSize
320 bool SkInsetConvexPolygon(const SkPoint* inputPolygonVerts, int inputPolygonSize,
322 if (inputPolygonSize < 3) {
328 if (inputPolygonSize > std::numeric_limits<uint16_t>::max()) {
339 for (int i = 0; i < inputPolygonSize; ++i) {
346 int winding = SkGetPolygonWinding(inputPolygonVerts, inputPolygonSize);
352 SkAutoSTMalloc<64, OffsetEdge> edgeData(inputPolygonSize);
353 int prev = inputPolygonSize - 1;
354 for (int curr = 0; curr < inputPolygonSize; prev = curr, ++curr) {
355 int next = (curr + 1) % inputPolygonSize;
377 int insetVertexCount = inputPolygonSize;
379 unsigned int maxIterations = inputPolygonSize * inputPolygonSize;
1165 bool SkOffsetSimplePolygon(const SkPoint* inputPolygonVerts, int inputPolygonSize,
1168 if (inputPolygonSize < 3) {
1173 if (inputPolygonSize >= std::numeric_limits<uint16_t>::max()) {
1189 for (int i = 0; i < inputPolygonSize; ++i) {
1199 int winding = SkGetPolygonWinding(inputPolygonVerts, inputPolygonSize);
1205 SkAutoSTMalloc<64, SkVector> normals(inputPolygonSize);
1207 for (int currIndex = 0, prevIndex = inputPolygonSize - 1;
1208 currIndex < inputPolygonSize;
1213 int nextIndex = (currIndex + 1) % inputPolygonSize;
1234 if (is_reflex_vertex(inputPolygonVerts, winding, offset, inputPolygonSize-1, 0, 1)) {
1237 if (!SkComputeRadialSteps(normals[inputPolygonSize-1], normals[0], offset,
1254 for (int currIndex = 0, prevIndex = inputPolygonSize - 1;
1255 currIndex < inputPolygonSize;
1257 int nextIndex = (currIndex + 1) % inputPolygonSize;