Lines Matching refs:Direction
16 enum class Direction { // SkPath::Direction doesn't have 'none' state
33 Direction fDirection{Direction::kNone};
41 static Contour::Direction to_direction(SkScalar dy) {
42 return dy > 0 ? Contour::Direction::kCCW : dy < 0 ? Contour::Direction::kCW :
43 Contour::Direction::kNone;
60 Contour::Direction directions[3];
91 if (zero_or_one(tVals[index]) && Contour::Direction::kCCW != directions[index]) {
96 return winding; // note winding indicates containership, not contour direction
104 Contour::Direction* direction) {
163 *direction = to_direction(dy);
239 Contour::Direction direction;
240 SkPoint minXY = left_edge(pts, verb, conic_weight(iter, verb), &direction);
248 if (direction == contour.fDirection) {
258 contour.fDirection = direction;
275 // sum of greater edges direction should be cw, 0, ccw
321 child->fDirection = (Contour::Direction) -(int) child->fDirection;