Home
last modified time | relevance | path

Searched refs:arcTo (Results 1 – 25 of 119) sorted by relevance

12345

/third_party/skia/docs/examples/
DChromeMDRefreshTab.cpp18 path.arcTo(scaled_endcap_radius - 1, scaled_endcap_radius - 1, 90, SkPath::kSmall_ArcSize, in GetBorderPath()
27 path.arcTo(scaled_endcap_radius + 1, scaled_endcap_radius + 1, 90, SkPath::kSmall_ArcSize, in GetBorderPath()
49 path.arcTo(scaled_endcap_radius + 1, scaled_endcap_radius + 1, 90, SkPath::kSmall_ArcSize, in GetBorderPath()
61 path.arcTo(scaled_endcap_radius - 1, scaled_endcap_radius - 1, 90, SkPath::kSmall_ArcSize, in GetBorderPath()
91 right_path.arcTo(scaled_endcap_radius, scaled_endcap_radius, 90, SkPath::kSmall_ArcSize, in GetInteriorPath()
102 right_path.arcTo(scaled_endcap_radius, scaled_endcap_radius, 90, SkPath::kSmall_ArcSize, in GetInteriorPath()
116 left_path.arcTo(scaled_endcap_radius, scaled_endcap_radius, 90, SkPath::kSmall_ArcSize, in GetInteriorPath()
125 left_path.arcTo(scaled_endcap_radius, scaled_endcap_radius, 90, SkPath::kSmall_ArcSize, in GetInteriorPath()
DChromeMDRefreshTabs.cpp25 right_path.arcTo(endcap_radius, endcap_radius, 90, SkPath::kSmall_ArcSize, in GetInteriorPath()
35 right_path.arcTo(endcap_radius, endcap_radius, 90, SkPath::kSmall_ArcSize, in GetInteriorPath()
49 left_path.arcTo(endcap_radius, endcap_radius, 90, SkPath::kSmall_ArcSize, in GetInteriorPath()
58 left_path.arcTo(endcap_radius, endcap_radius, 90, SkPath::kSmall_ArcSize, in GetInteriorPath()
DPath_arcTo.cpp12 path.arcTo({20, 20, 120, 120}, -90, 90, false); in draw()
15 path.arcTo({120, 20, 220, 120}, -90, 90, false); in draw()
19 path.arcTo({20, 120, 120, 220}, -90, 90, true); in draw()
DArc.cpp25 path.arcTo(oval, 0, 90, false);
34 path.arcTo({56, 56}, {32, 56}, 24);
37 path.arcTo({24, 24}, 0, SkPath::kSmall_ArcSize, SkPathDirection::kCW, {32, 56});
Dfivearcs.cpp17 arcPath.arcTo(oval, 0, 90, false); in draw()
34 arcPath.arcTo({56, 56}, {32, 56}, 24); in draw()
41 arcPath.arcTo({24, 24}, 0, SkPath::kSmall_ArcSize, SkPathDirection::kCW, {32, 56}); in draw()
Dbug767834.cpp1242 path.arcTo(oval1, start, end - start, false); in draw()
1244 path.arcTo(oval2, end, start - end, false); in draw()
Dbug583299.cpp838 path.arcTo(oval1, start, end - start, false); in draw()
840 path.arcTo(oval2, end, start - end, false); in draw()
/third_party/flutter/skia/samplecode/
DSampleClock.cpp162 path.arcTo(rect, 0, 0, false); in onDrawContent()
164 path.arcTo(rect, 360, 0, true); in onDrawContent()
172 path.arcTo(rect, 0, 0, false); in onDrawContent()
174 path.arcTo(rect, 360, 0, true); in onDrawContent()
182 path.arcTo(rect, 0, 0, false); in onDrawContent()
184 path.arcTo(rect, 360, 0, true); in onDrawContent()
198 path.arcTo(rect, 0, 0, false); in onDrawContent()
200 path.arcTo(rect, 360, 0, true); in onDrawContent()
DSampleAndroidShadows.cpp78 fNotchPath.arcTo(SkRect::MakeLTRB(-20, 80, 20, 120), -90, -90, false); in onOnceBeforeDraw()
83 fNotchPath.arcTo(SkRect::MakeLTRB(-20, 80, 20, 120), 0, -90, false); in onOnceBeforeDraw()
88 fTabPath.arcTo(SkRect::MakeLTRB(-20, 80, 20, 120), 0, 90, false); in onOnceBeforeDraw()
89 fTabPath.arcTo(SkRect::MakeLTRB(-20, 80, 20, 120), 90, 90, false); in onOnceBeforeDraw()
/third_party/skia/samplecode/
DSampleClock.cpp162 path.arcTo(rect, 0, 0, false); in onDrawContent()
164 path.arcTo(rect, 360, 0, true); in onDrawContent()
172 path.arcTo(rect, 0, 0, false); in onDrawContent()
174 path.arcTo(rect, 360, 0, true); in onDrawContent()
182 path.arcTo(rect, 0, 0, false); in onDrawContent()
184 path.arcTo(rect, 360, 0, true); in onDrawContent()
198 path.arcTo(rect, 0, 0, false); in onDrawContent()
200 path.arcTo(rect, 360, 0, true); in onDrawContent()
DSampleAndroidShadows.cpp77 fNotchPath.arcTo(SkRect::MakeLTRB(-20, 80, 20, 120), -90, -90, false); in onOnceBeforeDraw()
82 fNotchPath.arcTo(SkRect::MakeLTRB(-20, 80, 20, 120), 0, -90, false); in onOnceBeforeDraw()
87 fTabPath.arcTo(SkRect::MakeLTRB(-20, 80, 20, 120), 0, 90, false); in onOnceBeforeDraw()
88 fTabPath.arcTo(SkRect::MakeLTRB(-20, 80, 20, 120), 90, 90, false); in onOnceBeforeDraw()
/third_party/flutter/skia/modules/canvaskit/htmlcanvas/
Dpath2d.js9 function arcTo(skpath, x1, y1, x2, y2, radius) { function
19 skpath.arcTo(x1, y1, x2, y2, radius);
53 skpath.arcTo(oval, startDegrees, halfSweep, false);
54 skpath.arcTo(oval, startDegrees + halfSweep, halfSweep, false);
57 skpath.arcTo(oval, startDegrees, sweepDegrees, false);
173 this.arcTo = function(x1, y1, x2, y2, radius) { method in Path2D
174 arcTo(this._path, x1, y1, x2, y2, radius);
/third_party/flutter/skia/docs/examples/
DPath_arcTo.cpp12 path.arcTo({20, 20, 120, 120}, -90, 90, false); in draw()
15 path.arcTo({120, 20, 220, 120}, -90, 90, false); in draw()
19 path.arcTo({20, 120, 120, 220}, -90, 90, true); in draw()
DArc.cpp25 path.arcTo(oval, 0, 90, false);
34 path.arcTo({56, 56}, {32, 56}, 24);
37 path.arcTo({24, 24}, 0, SkPath::kSmall_ArcSize, SkPath::kCW_Direction, {32, 56});
/third_party/flutter/skia/gm/
Dpatharcto.cpp26 path.arcTo(284.3113082008462f, 207.1407719157063f,
30 path.arcTo(340.4737465981018f, 252.6907319346971f,
34 path.arcTo(350.19513833839466f, 185.89280014838369f,
Darcto.cpp81 svgArc.arcTo(oval.width() / 2, ovalHeight, SkIntToScalar(angle), SkPath::kSmall_ArcSize,
87 svgArc.arcTo(oval.width() / 2, ovalHeight, SkIntToScalar(angle), SkPath::kLarge_ArcSize,
117 path.arcTo(0, 0, 0, SkPath::kLarge_ArcSize, SkPath::kCW_Direction, 200, 200);
122 path.arcTo(80, 80, 0, SkPath::kLarge_ArcSize, SkPath::kCW_Direction, 200, 100);
208 p.arcTo(oval, 1.25f * 180, .5f * 180, false);
/third_party/skia/gm/
Darcto.cpp81 svgArc.arcTo({oval.width() / 2, ovalHeight}, angle, SkPathBuilder::kSmall_ArcSize,
86 svgArc.arcTo({oval.width() / 2, ovalHeight}, angle, SkPathBuilder::kLarge_ArcSize,
116 .arcTo({0, 0}, 0, SkPathBuilder::kLarge_ArcSize, SkPathDirection::kCW, {200, 200});
120 .arcTo({80, 80}, 0, SkPathBuilder::kLarge_ArcSize, SkPathDirection::kCW, {200, 100});
205 p.arcTo(oval, 1.25f * 180, .5f * 180, false);
Dpatharcto.cpp26 .arcTo({284.3113082008462f, 207.1407719157063f},
30 .arcTo({340.4737465981018f, 252.6907319346971f},
34 .arcTo({350.19513833839466f, 185.89280014838369f},
Dcrbug_996140.cpp69 auto path = SkPathBuilder().arcTo(boundingBox, 0, 180.f, false)
70 .arcTo(boundingBox, 180.f, 180.f, false)
/third_party/flutter/skia/modules/canvaskit/tests/
Dfont.spec.js118 arc.arcTo(CanvasKit.LTRBRect(20, 40, 280, 300), -160, 140, true);
120 arc.arcTo(CanvasKit.LTRBRect(20, 0, 280, 260), 160, -140, true);
165 arc.arcTo(CanvasKit.LTRBRect(20, 40, 280, 300), -160, 140, true);
167 arc.arcTo(CanvasKit.LTRBRect(20, 0, 280, 260), 160, -140, true);
/third_party/flutter/skia/include/core/
DSkPath.h820 SkPath& arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, bool forceMoveTo);
843 SkPath& arcTo(SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2, SkScalar radius);
864 SkPath& arcTo(const SkPoint p1, const SkPoint p2, SkScalar radius) { in arcTo() function
865 return this->arcTo(p1.fX, p1.fY, p2.fX, p2.fY, radius); in arcTo()
901 SkPath& arcTo(SkScalar rx, SkScalar ry, SkScalar xAxisRotate, ArcSize largeArc,
927 SkPath& arcTo(const SkPoint r, SkScalar xAxisRotate, ArcSize largeArc, Direction sweep, in arcTo() function
929 return this->arcTo(r.fX, r.fY, xAxisRotate, largeArc, sweep, xy.fX, xy.fY); in arcTo()
/third_party/skia/include/core/
DSkPath.h838 SkPath& arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, bool forceMoveTo);
865 SkPath& arcTo(SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2, SkScalar radius);
886 SkPath& arcTo(const SkPoint p1, const SkPoint p2, SkScalar radius) { in arcTo() function
887 return this->arcTo(p1.fX, p1.fY, p2.fX, p2.fY, radius); in arcTo()
923 SkPath& arcTo(SkScalar rx, SkScalar ry, SkScalar xAxisRotate, ArcSize largeArc,
949 SkPath& arcTo(const SkPoint r, SkScalar xAxisRotate, ArcSize largeArc, SkPathDirection sweep, in arcTo() function
951 return this->arcTo(r.fX, r.fY, xAxisRotate, largeArc, sweep, xy.fX, xy.fY); in arcTo()
DSkPathBuilder.h108 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,
/third_party/flutter/engine/flutter/lib/ui/painting/
Dpath.cc30 V(Path, arcTo) \
130 void CanvasPath::arcTo(float left, in arcTo() function in flutter::CanvasPath
137 path_.arcTo(SkRect::MakeLTRB(left, top, right, bottom), in arcTo()
155 path_.arcTo(radiusX, radiusY, xAxisRotation, arcSize, direction, arcEndX, in arcToPoint()
/third_party/skia/modules/canvaskit/htmlcanvas/
Dpath2d.js9 function arcTo(skpath, x1, y1, x2, y2, radius) { function
174 this.arcTo = function(x1, y1, x2, y2, radius) { method in Path2D
175 arcTo(this._path, x1, y1, x2, y2, radius);

12345