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()
1127 uint16_t prevIndex, uint16_t currIndex, uint16_t nextIndex) { in is_reflex_vertex() argument
1128 int side = compute_side(inputPolygonVerts[prevIndex], in is_reflex_vertex()
1129 inputPolygonVerts[currIndex] - inputPolygonVerts[prevIndex], in is_reflex_vertex()
1159 for (int currIndex = 0, prevIndex = inputPolygonSize - 1; in SkOffsetSimplePolygon() local
1161 prevIndex = currIndex, ++currIndex) { in SkOffsetSimplePolygon()
1173 prevIndex, currIndex, nextIndex)) { in SkOffsetSimplePolygon()
1176 if (!SkComputeRadialSteps(normals[prevIndex], normals[currIndex], offset, in SkOffsetSimplePolygon()
1206 for (int currIndex = 0, prevIndex = inputPolygonSize - 1; in SkOffsetSimplePolygon() local
1208 prevIndex = currIndex, ++currIndex) { in SkOffsetSimplePolygon()
1212 prevIndex, currIndex, nextIndex)) { in SkOffsetSimplePolygon()
1215 SkVector prevNormal = normals[prevIndex]; in SkOffsetSimplePolygon()
1579 int prevIndex = polygonSize - 1; in SkTriangulateSimplePolygon() local
1580 SkVector v0 = polygonVerts[0] - polygonVerts[prevIndex]; in SkTriangulateSimplePolygon()
1587 triangulationVertices[currIndex].fPrevIndex = prevIndex; in SkTriangulateSimplePolygon()
1596 prevIndex = currIndex; in SkTriangulateSimplePolygon()
1607 prevIndex = polygonSize - 1; in SkTriangulateSimplePolygon()
1608 for (int currIndex = 0; currIndex < polygonSize; prevIndex = currIndex, ++currIndex) { in SkTriangulateSimplePolygon()
1612 TriangulationVertex::VertexType prevType = triangulationVertices[prevIndex].fVertexType; in SkTriangulateSimplePolygon()