Lines Matching refs:Direction
53 /** \enum SkPath::Direction
54 Direction describes whether contour is clockwise or counterclockwise.
55 When SkPath contains multiple overlapping contours, Direction together with
58 Direction also determines how contour is measured. For instance, dashing
59 measures along SkPath to determine where to start and stop stroke; Direction
66 enum Direction : int {
213 360 degrees, and contour angles all have same Direction. Convex SkPath
216 SkPath is concave when either at least one Direction change is clockwise and
217 another is counterclockwise, or the sum of the changes in Direction is not 360
873 ArcSize and Direction select one of the four oval parts.
905 Direction sweep, SkScalar x, SkScalar y);
930 SkPath& arcTo(const SkPoint r, SkScalar xAxisRotate, ArcSize largeArc, Direction sweep,
962 Direction sweep, SkScalar dx, SkScalar dy);
1036 If false: rect, isClosed, and direction are unchanged.
1037 If true: rect, isClosed, and direction are written to if not nullptr.
1044 @param direction storage set to SkRect direction; may be nullptr
1047 bool isRect(SkRect* rect, bool* isClosed = nullptr, Direction* direction = nullptr) const;
1053 setting dirs[0] to SkPath::Direction of outer SkRect, and dirs[1] to SkPath::Direction of
1057 @param dirs storage for SkPath::Direction pair; may be nullptr
1060 bool isNestedFillRects(SkRect rect[2], Direction dirs[2] = nullptr) const;
1068 @param dir SkPath::Direction to wind added contour
1071 SkPath& addRect(const SkRect& rect, Direction dir = kCW_Direction);
1079 @param dir SkPath::Direction to wind added contour
1083 SkPath& addRect(const SkRect& rect, Direction dir, unsigned start);
1095 Direction to wind added contour
1099 Direction dir = kCW_Direction);
1107 @param dir SkPath::Direction to wind ellipse
1110 SkPath& addOval(const SkRect& oval, Direction dir = kCW_Direction);
1118 @param dir SkPath::Direction to wind ellipse
1122 SkPath& addOval(const SkRect& oval, Direction dir, unsigned start);
1133 @param dir SkPath::Direction to wind circle
1137 Direction dir = kCW_Direction);
1170 @param dir SkPath::Direction to wind SkRRect
1174 Direction dir = kCW_Direction);
1182 @param dir SkPath::Direction to wind SkRRect
1186 Direction dir = kCW_Direction);
1196 @param dir SkPath::Direction to wind SkRRect
1199 SkPath& addRRect(const SkRRect& rrect, Direction dir = kCW_Direction);
1206 @param dir SkPath::Direction to wind SkRRect
1210 SkPath& addRRect(const SkRRect& rrect, Direction dir, unsigned start);
1737 bool* isClosed, Direction* direction, SkRect* rect) const;