• Home
  • Raw
  • Download

Lines Matching refs:winding

357     Edge(Vertex* top, Vertex* bottom, int winding, Type type)  in Edge()
358 : fWinding(winding) in Edge()
519 Poly(Vertex* v, int winding) in Poly()
521 , fWinding(winding) in Poly()
679 Poly* new_poly(Poly** head, Vertex* v, int winding, SkArenaAlloc& alloc) { in new_poly() argument
680 Poly* poly = alloc.make<Poly>(v, winding); in new_poly()
820 inline bool apply_fill_type(SkPath::FillType fillType, int winding) { in apply_fill_type() argument
823 return winding != 0; in apply_fill_type()
825 return (winding & 1) != 0; in apply_fill_type()
827 return winding == 1; in apply_fill_type()
829 return (winding & 1) == 1; in apply_fill_type()
841 int winding = c.sweep_lt(prev->fPoint, next->fPoint) ? 1 : -1; in new_edge() local
842 Vertex* top = winding < 0 ? next : prev; in new_edge()
843 Vertex* bottom = winding < 0 ? prev : next; in new_edge()
844 return alloc.make<Edge>(top, bottom, winding, type); in new_edge()
1607 int winding = leftEdge->fLeftPoly ? leftEdge->fLeftPoly->fWinding : 0; in tessellate() local
1608 winding += leftEdge->fWinding; in tessellate()
1609 if (winding != 0) { in tessellate()
1610 Poly* poly = new_poly(&polys, v, winding, alloc); in tessellate()
1751 int winding = c.sweep_lt(prev->fPoint, next->fPoint) ? 1 : -1; in fix_inversions() local
1754 if (winding != prevEdge->fWinding && prevBisector->intersect(*nextBisector, &p, &alpha)) { in fix_inversions()
1863 int winding = c.sweep_lt(prev->fPoint, next->fPoint) ? 1 : -1; in inversion() local
1864 return winding != origEdge->fWinding; in inversion()