Lines Matching refs:inputPolygonVerts
320 bool SkInsetConvexPolygon(const SkPoint* inputPolygonVerts, int inputPolygonSize,
340 *insetPolygon->push() = inputPolygonVerts[i];
346 int winding = SkGetPolygonWinding(inputPolygonVerts, inputPolygonSize);
356 if (!inputPolygonVerts[curr].isFinite()) {
360 if (compute_side(inputPolygonVerts[prev], inputPolygonVerts[curr] - inputPolygonVerts[prev],
361 inputPolygonVerts[next])*winding < 0) {
364 SkVector v = inputPolygonVerts[next] - inputPolygonVerts[curr];
369 edgeData[curr].fOffset.fP0 = inputPolygonVerts[curr] + perp;
1156 static bool is_reflex_vertex(const SkPoint* inputPolygonVerts, int winding, SkScalar offset,
1158 int side = compute_side(inputPolygonVerts[prevIndex],
1159 inputPolygonVerts[currIndex] - inputPolygonVerts[prevIndex],
1160 inputPolygonVerts[nextIndex]);
1165 bool SkOffsetSimplePolygon(const SkPoint* inputPolygonVerts, int inputPolygonSize,
1190 *offsetPolygon->push() = inputPolygonVerts[i];
1199 int winding = SkGetPolygonWinding(inputPolygonVerts, inputPolygonSize);
1210 if (!inputPolygonVerts[currIndex].isFinite()) {
1214 if (!compute_offset_vector(inputPolygonVerts[currIndex], inputPolygonVerts[nextIndex],
1220 if (is_reflex_vertex(inputPolygonVerts, winding, offset,
1234 if (is_reflex_vertex(inputPolygonVerts, winding, offset, inputPolygonSize-1, 0, 1)) {
1259 if (is_reflex_vertex(inputPolygonVerts, winding, offset,
1273 inputPolygonVerts[currIndex] + prevNormal,
1274 inputPolygonVerts[currIndex] + currNormal,
1285 inputPolygonVerts[currIndex] + prevNormal,
1286 inputPolygonVerts[currIndex] + normals[currIndex],
1298 inputPolygonVerts[currIndex] + normals[currIndex],
1299 inputPolygonVerts[nextIndex] + normals[currIndex],