Lines Matching refs:prevIndex

190     int prevIndex = polygonSize - 1;  in SkIsConvexPolygon()  local
194 SkVector v0 = polygonVerts[currIndex] - polygonVerts[prevIndex]; in SkIsConvexPolygon()
222 prevIndex = currIndex; in SkIsConvexPolygon()
1157 uint16_t prevIndex, uint16_t currIndex, uint16_t nextIndex) { in is_reflex_vertex() argument
1158 int side = compute_side(inputPolygonVerts[prevIndex], in is_reflex_vertex()
1159 inputPolygonVerts[currIndex] - inputPolygonVerts[prevIndex], in is_reflex_vertex()
1207 for (int currIndex = 0, prevIndex = inputPolygonSize - 1; in SkOffsetSimplePolygon() local
1209 prevIndex = currIndex, ++currIndex) { in SkOffsetSimplePolygon()
1221 prevIndex, currIndex, nextIndex)) { in SkOffsetSimplePolygon()
1224 if (!SkComputeRadialSteps(normals[prevIndex], normals[currIndex], offset, in SkOffsetSimplePolygon()
1254 for (int currIndex = 0, prevIndex = inputPolygonSize - 1; in SkOffsetSimplePolygon() local
1256 prevIndex = currIndex, ++currIndex) { in SkOffsetSimplePolygon()
1260 prevIndex, currIndex, nextIndex)) { in SkOffsetSimplePolygon()
1263 SkVector prevNormal = normals[prevIndex]; in SkOffsetSimplePolygon()
1627 int prevIndex = polygonSize - 1; in SkTriangulateSimplePolygon() local
1628 SkVector v0 = polygonVerts[0] - polygonVerts[prevIndex]; in SkTriangulateSimplePolygon()
1635 triangulationVertices[currIndex].fPrevIndex = prevIndex; in SkTriangulateSimplePolygon()
1644 prevIndex = currIndex; in SkTriangulateSimplePolygon()
1655 prevIndex = polygonSize - 1; in SkTriangulateSimplePolygon()
1656 for (int currIndex = 0; currIndex < polygonSize; prevIndex = currIndex, ++currIndex) { in SkTriangulateSimplePolygon()
1660 TriangulationVertex::VertexType prevType = triangulationVertices[prevIndex].fVertexType; in SkTriangulateSimplePolygon()