Lines Matching refs:prevEdge

365     OffsetEdge* prevEdge = currEdge->fPrev;  in SkInsetConvexPolygon()  local
369 while (head && prevEdge != currEdge) { in SkInsetConvexPolygon()
378 if (compute_intersection(prevEdge->fOffset, currEdge->fOffset, in SkInsetConvexPolygon()
381 if (s < prevEdge->fTValue) { in SkInsetConvexPolygon()
383 remove_node(prevEdge, &head); in SkInsetConvexPolygon()
386 prevEdge = prevEdge->fPrev; in SkInsetConvexPolygon()
399 prevEdge = currEdge; in SkInsetConvexPolygon()
406 prevEdge->fOffset.fP0); in SkInsetConvexPolygon()
410 prevEdge->fOffset.fP0 + prevEdge->fOffset.fV)) { in SkInsetConvexPolygon()
412 remove_node(prevEdge, &head); in SkInsetConvexPolygon()
415 prevEdge = prevEdge->fPrev; in SkInsetConvexPolygon()
1227 OffsetEdge* prevEdge = nullptr; in SkOffsetSimplePolygon() local
1251 currEdge->fPrev = prevEdge; in SkOffsetSimplePolygon()
1252 if (prevEdge) { in SkOffsetSimplePolygon()
1253 prevEdge->fNext = currEdge; in SkOffsetSimplePolygon()
1255 prevEdge = currEdge; in SkOffsetSimplePolygon()
1262 currEdge->fPrev = prevEdge; in SkOffsetSimplePolygon()
1263 if (prevEdge) { in SkOffsetSimplePolygon()
1264 prevEdge->fNext = currEdge; in SkOffsetSimplePolygon()
1266 prevEdge = currEdge; in SkOffsetSimplePolygon()
1275 currEdge->fPrev = prevEdge; in SkOffsetSimplePolygon()
1276 if (prevEdge) { in SkOffsetSimplePolygon()
1277 prevEdge->fNext = currEdge; in SkOffsetSimplePolygon()
1279 prevEdge = currEdge; in SkOffsetSimplePolygon()
1282 SkASSERT(prevEdge); in SkOffsetSimplePolygon()
1283 prevEdge->fNext = &edgeData[0]; in SkOffsetSimplePolygon()
1284 edgeData[0].fPrev = prevEdge; in SkOffsetSimplePolygon()
1293 while (head && prevEdge != currEdge && offsetVertexCount > 0) { in SkOffsetSimplePolygon()
1302 if (prevEdge->checkIntersection(currEdge, &intersection, &s, &t)) { in SkOffsetSimplePolygon()
1304 if (s < prevEdge->fTValue) { in SkOffsetSimplePolygon()
1306 remove_node(prevEdge, &head); in SkOffsetSimplePolygon()
1309 prevEdge = prevEdge->fPrev; in SkOffsetSimplePolygon()
1320 currEdge->fIndex = prevEdge->fEnd; in SkOffsetSimplePolygon()
1323 prevEdge = currEdge; in SkOffsetSimplePolygon()
1329 OffsetEdge* prevPrevEdge = prevEdge->fPrev; in SkOffsetSimplePolygon()
1332 SkScalar dist1 = prevEdge->computeCrossingDistance(currNextEdge); in SkOffsetSimplePolygon()
1338 prevEdge->fOffset.fP0); in SkOffsetSimplePolygon()
1350 remove_node(prevEdge, &head); in SkOffsetSimplePolygon()
1351 prevEdge = prevPrevEdge; in SkOffsetSimplePolygon()
1359 remove_node(prevEdge, &head); in SkOffsetSimplePolygon()
1360 prevEdge = prevPrevEdge; in SkOffsetSimplePolygon()