Lines Matching refs:winding
342 Edge(Vertex* top, Vertex* bottom, int winding, Type type) in Edge()
343 : fWinding(winding) in Edge()
504 Poly(Vertex* v, int winding) in Poly()
506 , fWinding(winding) in Poly()
664 Poly* new_poly(Poly** head, Vertex* v, int winding, SkArenaAlloc& alloc) { in new_poly() argument
665 Poly* poly = alloc.make<Poly>(v, winding); in new_poly()
805 inline bool apply_fill_type(SkPath::FillType fillType, int winding) { in apply_fill_type() argument
808 return winding != 0; in apply_fill_type()
810 return (winding & 1) != 0; in apply_fill_type()
812 return winding == 1; in apply_fill_type()
814 return (winding & 1) == 1; in apply_fill_type()
826 int winding = c.sweep_lt(prev->fPoint, next->fPoint) ? 1 : -1; in new_edge() local
827 Vertex* top = winding < 0 ? next : prev; in new_edge()
828 Vertex* bottom = winding < 0 ? prev : next; in new_edge()
829 return alloc.make<Edge>(top, bottom, winding, type); in new_edge()
1086 int winding = edge->fWinding; in split_edge() local
1100 Edge* newEdge = alloc.make<Edge>(top, bottom, winding, edge->fType); in split_edge()
1616 int winding = leftEdge->fLeftPoly ? leftEdge->fLeftPoly->fWinding : 0; in tessellate() local
1617 winding += leftEdge->fWinding; in tessellate()
1618 if (winding != 0) { in tessellate()
1619 Poly* poly = new_poly(&polys, v, winding, alloc); in tessellate()
1859 int winding = c.sweep_lt(prev->fPoint, next->fPoint) ? 1 : -1; in inversion() local
1860 return winding != origEdge->fWinding; in inversion()