• Home
  • Raw
  • Download

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()
1141 uint16_t prevIndex, uint16_t currIndex, uint16_t nextIndex) { in is_reflex_vertex() argument
1142 int side = compute_side(inputPolygonVerts[prevIndex], in is_reflex_vertex()
1143 inputPolygonVerts[currIndex] - inputPolygonVerts[prevIndex], in is_reflex_vertex()
1191 for (int currIndex = 0, prevIndex = inputPolygonSize - 1; in SkOffsetSimplePolygon() local
1193 prevIndex = currIndex, ++currIndex) { in SkOffsetSimplePolygon()
1205 prevIndex, currIndex, nextIndex)) { in SkOffsetSimplePolygon()
1208 if (!SkComputeRadialSteps(normals[prevIndex], normals[currIndex], offset, in SkOffsetSimplePolygon()
1238 for (int currIndex = 0, prevIndex = inputPolygonSize - 1; in SkOffsetSimplePolygon() local
1240 prevIndex = currIndex, ++currIndex) { in SkOffsetSimplePolygon()
1244 prevIndex, currIndex, nextIndex)) { in SkOffsetSimplePolygon()
1247 SkVector prevNormal = normals[prevIndex]; in SkOffsetSimplePolygon()
1611 int prevIndex = polygonSize - 1; in SkTriangulateSimplePolygon() local
1612 SkVector v0 = polygonVerts[0] - polygonVerts[prevIndex]; in SkTriangulateSimplePolygon()
1619 triangulationVertices[currIndex].fPrevIndex = prevIndex; in SkTriangulateSimplePolygon()
1628 prevIndex = currIndex; in SkTriangulateSimplePolygon()
1639 prevIndex = polygonSize - 1; in SkTriangulateSimplePolygon()
1640 for (int currIndex = 0; currIndex < polygonSize; prevIndex = currIndex, ++currIndex) { in SkTriangulateSimplePolygon()
1644 TriangulationVertex::VertexType prevType = triangulationVertices[prevIndex].fVertexType; in SkTriangulateSimplePolygon()