Lines Matching refs:nextIndex
181 int nextIndex = 1; in SkIsConvexPolygon() local
184 SkVector v1 = polygonVerts[nextIndex] - polygonVerts[currIndex]; in SkIsConvexPolygon()
186 SkVector w1 = polygonVerts[nextIndex] - origin; in SkIsConvexPolygon()
212 currIndex = nextIndex; in SkIsConvexPolygon()
213 nextIndex = (currIndex + 1) % polygonSize; in SkIsConvexPolygon()
215 v1 = polygonVerts[nextIndex] - polygonVerts[currIndex]; in SkIsConvexPolygon()
217 w1 = polygonVerts[nextIndex] - origin; in SkIsConvexPolygon()
1127 uint16_t prevIndex, uint16_t currIndex, uint16_t nextIndex) { in is_reflex_vertex() argument
1130 inputPolygonVerts[nextIndex]); in is_reflex_vertex()
1165 int nextIndex = (currIndex + 1) % inputPolygonSize; in SkOffsetSimplePolygon() local
1166 if (!compute_offset_vector(inputPolygonVerts[currIndex], inputPolygonVerts[nextIndex], in SkOffsetSimplePolygon()
1173 prevIndex, currIndex, nextIndex)) { in SkOffsetSimplePolygon()
1209 int nextIndex = (currIndex + 1) % inputPolygonSize; in SkOffsetSimplePolygon() local
1212 prevIndex, currIndex, nextIndex)) { in SkOffsetSimplePolygon()
1251 inputPolygonVerts[nextIndex] + normals[currIndex], in SkOffsetSimplePolygon()
1252 currIndex, nextIndex); in SkOffsetSimplePolygon()
1582 int nextIndex = (currIndex + 1) % polygonSize; in SkTriangulateSimplePolygon() local
1588 triangulationVertices[currIndex].fNextIndex = nextIndex; in SkTriangulateSimplePolygon()
1589 SkVector v1 = polygonVerts[nextIndex] - polygonVerts[currIndex]; in SkTriangulateSimplePolygon()
1611 int nextIndex = (currIndex + 1) % polygonSize; in SkTriangulateSimplePolygon() local
1613 TriangulationVertex::VertexType nextType = triangulationVertices[nextIndex].fVertexType; in SkTriangulateSimplePolygon()