Lines Matching refs:prevIndex
179 int prevIndex = polygonSize - 1; in SkIsConvexPolygon() local
183 SkVector v0 = polygonVerts[currIndex] - polygonVerts[prevIndex]; in SkIsConvexPolygon()
211 prevIndex = currIndex; in SkIsConvexPolygon()
1140 uint16_t prevIndex, uint16_t currIndex, uint16_t nextIndex) { in is_reflex_vertex() argument
1141 int side = compute_side(inputPolygonVerts[prevIndex], in is_reflex_vertex()
1142 inputPolygonVerts[currIndex] - inputPolygonVerts[prevIndex], in is_reflex_vertex()
1181 for (int currIndex = 0, prevIndex = inputPolygonSize - 1; in SkOffsetSimplePolygon() local
1183 prevIndex = currIndex, ++currIndex) { in SkOffsetSimplePolygon()
1195 prevIndex, currIndex, nextIndex)) { in SkOffsetSimplePolygon()
1198 if (!SkComputeRadialSteps(normals[prevIndex], normals[currIndex], offset, in SkOffsetSimplePolygon()
1228 for (int currIndex = 0, prevIndex = inputPolygonSize - 1; in SkOffsetSimplePolygon() local
1230 prevIndex = currIndex, ++currIndex) { in SkOffsetSimplePolygon()
1234 prevIndex, currIndex, nextIndex)) { in SkOffsetSimplePolygon()
1237 SkVector prevNormal = normals[prevIndex]; in SkOffsetSimplePolygon()
1601 int prevIndex = polygonSize - 1; in SkTriangulateSimplePolygon() local
1602 SkVector v0 = polygonVerts[0] - polygonVerts[prevIndex]; in SkTriangulateSimplePolygon()
1609 triangulationVertices[currIndex].fPrevIndex = prevIndex; in SkTriangulateSimplePolygon()
1618 prevIndex = currIndex; in SkTriangulateSimplePolygon()
1629 prevIndex = polygonSize - 1; in SkTriangulateSimplePolygon()
1630 for (int currIndex = 0; currIndex < polygonSize; prevIndex = currIndex, ++currIndex) { in SkTriangulateSimplePolygon()
1634 TriangulationVertex::VertexType prevType = triangulationVertices[prevIndex].fVertexType; in SkTriangulateSimplePolygon()