Lines Matching refs:SkPathBuilder
16 class SK_API SkPathBuilder {
18 SkPathBuilder();
19 SkPathBuilder(SkPathFillType);
20 SkPathBuilder(const SkPath&);
21 SkPathBuilder(const SkPathBuilder&) = default;
22 ~SkPathBuilder();
24 SkPathBuilder& operator=(const SkPath&);
25 SkPathBuilder& operator=(const SkPathBuilder&) = default;
33 SkPathBuilder& setFillType(SkPathFillType ft) { fFillType = ft; return *this; } in setFillType()
34 SkPathBuilder& setIsVolatile(bool isVolatile) { fIsVolatile = isVolatile; return *this; } in setIsVolatile()
36 SkPathBuilder& reset();
38 SkPathBuilder& moveTo(SkPoint pt);
39 SkPathBuilder& moveTo(SkScalar x, SkScalar y) { return this->moveTo(SkPoint::Make(x, y)); } in moveTo()
41 SkPathBuilder& lineTo(SkPoint pt);
42 SkPathBuilder& lineTo(SkScalar x, SkScalar y) { return this->lineTo(SkPoint::Make(x, y)); } in lineTo()
44 SkPathBuilder& quadTo(SkPoint pt1, SkPoint pt2);
45 SkPathBuilder& quadTo(SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2) { in quadTo()
48 SkPathBuilder& quadTo(const SkPoint pts[2]) { return this->quadTo(pts[0], pts[1]); } in quadTo()
50 SkPathBuilder& conicTo(SkPoint pt1, SkPoint pt2, SkScalar w);
51 SkPathBuilder& conicTo(SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2, SkScalar w) { in conicTo()
54 SkPathBuilder& conicTo(const SkPoint pts[2], SkScalar w) { in conicTo()
58 SkPathBuilder& cubicTo(SkPoint pt1, SkPoint pt2, SkPoint pt3);
59 …SkPathBuilder& cubicTo(SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2, SkScalar x3, SkScalar y… in cubicTo()
62 SkPathBuilder& cubicTo(const SkPoint pts[3]) { in cubicTo()
66 SkPathBuilder& close();
69 SkPathBuilder& polylineTo(const SkPoint pts[], int count);
70 SkPathBuilder& polylineTo(const std::initializer_list<SkPoint>& list) { in polylineTo()
76 SkPathBuilder& rLineTo(SkPoint pt);
77 SkPathBuilder& rLineTo(SkScalar x, SkScalar y) { return this->rLineTo({x, y}); } in rLineTo()
78 SkPathBuilder& rQuadTo(SkPoint pt1, SkPoint pt2);
79 SkPathBuilder& rQuadTo(SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2) { in rQuadTo()
82 SkPathBuilder& rConicTo(SkPoint p1, SkPoint p2, SkScalar w);
83 SkPathBuilder& rConicTo(SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2, SkScalar w) { in rConicTo()
86 SkPathBuilder& rCubicTo(SkPoint pt1, SkPoint pt2, SkPoint pt3);
87 …SkPathBuilder& rCubicTo(SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2, SkScalar x3, SkScalar … in rCubicTo()
108 SkPathBuilder& arcTo(const SkRect& oval, SkScalar startAngleDeg, SkScalar sweepAngleDeg,
130 SkPathBuilder& arcTo(SkPoint p1, SkPoint p2, SkScalar radius);
160 SkPathBuilder& arcTo(SkPoint r, SkScalar xAxisRotate, ArcSize largeArc, SkPathDirection sweep,
177 SkPathBuilder& addArc(const SkRect& oval, SkScalar startAngleDeg, SkScalar sweepAngleDeg);
181 SkPathBuilder& addRect(const SkRect&, SkPathDirection, unsigned startIndex);
182 SkPathBuilder& addOval(const SkRect&, SkPathDirection, unsigned startIndex);
183 SkPathBuilder& addRRect(const SkRRect&, SkPathDirection, unsigned startIndex);
185 SkPathBuilder& addRect(const SkRect& rect, SkPathDirection dir = SkPathDirection::kCW) {
188 SkPathBuilder& addOval(const SkRect& rect, SkPathDirection dir = SkPathDirection::kCW) {
192 SkPathBuilder& addRRect(const SkRRect& rrect, SkPathDirection dir = SkPathDirection::kCW) {
197 SkPathBuilder& addCircle(SkScalar center_x, SkScalar center_y, SkScalar radius,
200 SkPathBuilder& addPolygon(const SkPoint pts[], int count, bool isClosed);
201 SkPathBuilder& addPolygon(const std::initializer_list<SkPoint>& list, bool isClosed) { in addPolygon()
205 SkPathBuilder& addPath(const SkPath&);
214 SkPathBuilder& offset(SkScalar dx, SkScalar dy);
216 SkPathBuilder& toggleInverseFillType() { in toggleInverseFillType()
258 SkPathBuilder& privateReverseAddPath(const SkPath&);