Lines Matching refs:Direction
27 enum Direction {
28 /** clockwise direction for adding closed contours */
30 /** counter-clockwise direction for adding closed contours */
183 bool isOval(SkRect* rect, Direction* dir = nullptr,
205 bool isRRect(SkRRect* rrect, Direction* dir = nullptr,
578 * clockwise direction. Note that this enum value is opposite the SVG
583 Direction sweep, SkScalar x, SkScalar y);
585 void arcTo(const SkPoint r, SkScalar xAxisRotate, ArcSize largeArc, Direction sweep,
599 * clockwise direction. Note that this enum value is opposite the SVG
604 Direction sweep, SkScalar dx, SkScalar dy);
662 * @param direction If not null, set to the rectangle's direction
665 bool isRect(SkRect* rect, bool* isClosed = NULL, Direction* direction = NULL) const;
670 rectangle. If so, and dirs is not null, set dirs[0] to the direction of
671 the outer rectangle and dirs[1] to the direction of the inner rectangle. If
676 @param dirs If not null, returns the direction of the rects
679 bool isNestedFillRects(SkRect rect[2], Direction dirs[2] = NULL) const;
684 * @param dir The direction to wind the rectangle's contour.
688 void addRect(const SkRect& rect, Direction dir = kCW_Direction);
693 * @param dir The direction to wind the rectangle's contour.
703 void addRect(const SkRect& rect, Direction dir, unsigned start);
716 * @param dir The direction to wind the rectangle's contour.
721 Direction dir = kCW_Direction);
727 * @param dir The direction to wind the oval's contour.
731 void addOval(const SkRect& oval, Direction dir = kCW_Direction);
737 * @param dir The direction to wind the oval's contour.
750 void addOval(const SkRect& oval, Direction dir, unsigned start);
762 * @param dir The direction to wind the circle's contour.
765 Direction dir = kCW_Direction);
780 * @param dir The direction to wind the rectangle's contour.
783 Direction dir = kCW_Direction);
791 * @param dir The direction to wind the rectangle's contour.
797 Direction dir = kCW_Direction);
802 * @param dir The winding direction for the new contour.
808 void addRRect(const SkRRect& rrect, Direction dir = kCW_Direction);
813 * @param dir The winding direction for the new contour.
825 void addRRect(const SkRRect& rrect, Direction dir, unsigned start);
883 @param dx The amount in the X direction to offset the entire path
884 @param dy The amount in the Y direction to offset the entire path
891 @param dx The amount in the X direction to offset the entire path
892 @param dy The amount in the Y direction to offset the entire path
1178 bool* isClosed, Direction* direction) const;