Lines Matching refs:Contour
15 struct Contour { struct
22 Contour(const SkRect& bounds, int lastStart, int verbStart) in Contour() argument
28 vector<Contour*> fChildren; argument
41 static Contour::Direction to_direction(SkScalar dy) { in to_direction() argument
42 return dy > 0 ? Contour::Direction::kCCW : dy < 0 ? Contour::Direction::kCW : in to_direction()
43 Contour::Direction::kNone; in to_direction()
60 Contour::Direction directions[3]; in contains_edge()
91 if (zero_or_one(tVals[index]) && Contour::Direction::kCCW != directions[index]) { in contains_edge()
104 Contour::Direction* direction) { in left_edge()
178 void contourBounds(vector<Contour>* containers) { in contourBounds()
207 int nextEdge(Contour& contour, Edge edge) { in nextEdge()
239 Contour::Direction direction; in nextEdge()
263 bool containerContains(Contour& contour, Contour& test) { in containerContains()
280 void inParent(Contour& contour, Contour& parent) { in inParent()
300 bool checkContainerChildren(Contour* parent, Contour* child) { in checkContainerChildren()
314 bool markReverse(Contour* parent, Contour* child) { in markReverse()
321 child->fDirection = (Contour::Direction) -(int) child->fDirection; in markReverse()
327 void reverseMarkedContours(vector<Contour>& contours, SkPath* result) { in reverseMarkedContours()
391 vector<Contour> contours; // one per contour in AsWinding()
398 Contour sorted(SkRect(), 0, 0); in AsWinding()
404 [](const Contour* contour) -> bool { return !contour->fChildren.size(); } )) { in AsWinding()