• Home
  • Raw
  • Download

Lines Matching refs:prevEdge

1736     Edge* prevEdge = boundary->fTail;  in simplify_boundary()  local
1738 get_edge_normal(prevEdge, &prevNormal); in simplify_boundary()
1740 Vertex* prev = prevEdge->fWinding == 1 ? prevEdge->fTop : prevEdge->fBottom; in simplify_boundary()
1743 double distNext = prevEdge->dist(next->fPoint); in simplify_boundary()
1748 remove_edge(prevEdge, boundary); in simplify_boundary()
1750 prevEdge = boundary->fTail; in simplify_boundary()
1752 if (prevEdge) { in simplify_boundary()
1753 get_edge_normal(prevEdge, &prevNormal); in simplify_boundary()
1763 remove_edge(prevEdge, boundary); in simplify_boundary()
1766 prevEdge = join->fLeft; in simplify_boundary()
1769 prevEdge = boundary->fTail; in simplify_boundary()
1772 get_edge_normal(prevEdge, &prevNormal); in simplify_boundary()
1774 prevEdge = e; in simplify_boundary()
1802 SSEdge* prevEdge = fEdge->fPrev->fPrev; in apply() local
1804 if (!prevEdge || !nextEdge || !prevEdge->fEdge || !nextEdge->fEdge) { in apply()
1818 prevEdge->fNext = nextEdge->fPrev = ssv; in apply()
1819 ssv->fPrev = prevEdge; in apply()
1821 if (!prevEdge->fEdge || !nextEdge->fEdge) { in apply()
1824 if (prevEdge->fEvent) { in apply()
1825 prevEdge->fEvent->fEdge = nullptr; in apply()
1830 if (prevEdge->fPrev == nextEdge->fNext) { in apply()
1831 ss_connect(prevEdge->fPrev->fVertex, dest, c, alloc); in apply()
1832 prevEdge->fEdge = nextEdge->fEdge = nullptr; in apply()
1834 compute_bisector(prevEdge->fEdge, nextEdge->fEdge, dest, alloc); in apply()
1835 SkASSERT(prevEdge != fEdge && nextEdge != fEdge); in apply()
1837 create_event(prevEdge, events, alloc); in apply()
1840 create_event(prevEdge, prevEdge->fPrev->fVertex, nextEdge, dest, events, c, alloc); in apply()
1841 create_event(nextEdge, nextEdge->fNext->fVertex, prevEdge, dest, events, c, alloc); in apply()
1958 Edge* prevEdge = boundary->fTail; in stroke_boundary() local
1959 Vertex* prevV = prevEdge->fWinding > 0 ? prevEdge->fTop : prevEdge->fBottom; in stroke_boundary()
1961 get_edge_normal(prevEdge, &prevNormal); in stroke_boundary()
1963 Line prevInner(prevEdge->fLine); in stroke_boundary()
1965 Line prevOuter(prevEdge->fLine); in stroke_boundary()
1981 if (!prevEdge->fLine.nearParallel(e->fLine) && prevInner.intersect(inner, &innerPoint) && in stroke_boundary()
2051 if (!inversion(innerVertices.fTail, innerVertex1, prevEdge, c)) { in stroke_boundary()
2054 if (!inversion(outerVertices.fTail, outerVertex1, prevEdge, c)) { in stroke_boundary()
2068 if (!inversion(innerVertices.fTail, innerVertex, prevEdge, c)) { in stroke_boundary()
2071 if (!inversion(outerVertices.fTail, outerVertex, prevEdge, c)) { in stroke_boundary()
2081 prevEdge = e; in stroke_boundary()
2084 if (!inversion(innerVertices.fTail, innerVertices.fHead, prevEdge, c)) { in stroke_boundary()
2087 if (!inversion(outerVertices.fTail, outerVertices.fHead, prevEdge, c)) { in stroke_boundary()