Home
last modified time | relevance | path

Searched refs:arcTo (Results 1 - 25 of 51) sorted by relevance

123

/third_party/skia/docs/examples/
H A DChromeMDRefreshTab.cpp18 path.arcTo(scaled_endcap_radius - 1, scaled_endcap_radius - 1, 90, SkPath::kSmall_ArcSize, in REG_FIDDLE()
27 path.arcTo(scaled_endcap_radius + 1, scaled_endcap_radius + 1, 90, SkPath::kSmall_ArcSize, in REG_FIDDLE()
49 path.arcTo(scaled_endcap_radius + 1, scaled_endcap_radius + 1, 90, SkPath::kSmall_ArcSize, in REG_FIDDLE()
52 // path.arcTo(SkRect::MakeLTRB(right - 2 * scale, bottom - 1 - 1.5 * scale, in REG_FIDDLE()
61 path.arcTo(scaled_endcap_radius - 1, scaled_endcap_radius - 1, 90, SkPath::kSmall_ArcSize, in REG_FIDDLE()
91 right_path.arcTo(scaled_endcap_radius, scaled_endcap_radius, 90, SkPath::kSmall_ArcSize, in REG_FIDDLE()
102 right_path.arcTo(scaled_endcap_radius, scaled_endcap_radius, 90, SkPath::kSmall_ArcSize, in REG_FIDDLE()
116 left_path.arcTo(scaled_endcap_radius, scaled_endcap_radius, 90, SkPath::kSmall_ArcSize, in REG_FIDDLE()
125 left_path.arcTo(scaled_endcap_radius, scaled_endcap_radius, 90, SkPath::kSmall_ArcSize, in REG_FIDDLE()
H A DChromeMDRefreshTabs.cpp25 right_path.arcTo(endcap_radius, endcap_radius, 90, SkPath::kSmall_ArcSize, in REG_FIDDLE()
35 right_path.arcTo(endcap_radius, endcap_radius, 90, SkPath::kSmall_ArcSize, in REG_FIDDLE()
49 left_path.arcTo(endcap_radius, endcap_radius, 90, SkPath::kSmall_ArcSize, in REG_FIDDLE()
58 left_path.arcTo(endcap_radius, endcap_radius, 90, SkPath::kSmall_ArcSize, in REG_FIDDLE()
H A DPath_arcTo.cpp12 path.arcTo({20, 20, 120, 120}, -90, 90, false); in REG_FIDDLE()
15 path.arcTo({120, 20, 220, 120}, -90, 90, false); in REG_FIDDLE()
19 path.arcTo({20, 120, 120, 220}, -90, 90, true); in REG_FIDDLE()
H A DArc.cpp25 path.arcTo(oval, 0, 90, false); in REG_FIDDLE()
34 path.arcTo({56, 56}, {32, 56}, 24); in REG_FIDDLE()
37 path.arcTo({24, 24}, 0, SkPath::kSmall_ArcSize, SkPathDirection::kCW, {32, 56}); in REG_FIDDLE()
H A Dfivearcs.cpp17 arcPath.arcTo(oval, 0, 90, false); in REG_FIDDLE()
34 arcPath.arcTo({56, 56}, {32, 56}, 24); in REG_FIDDLE()
41 arcPath.arcTo({24, 24}, 0, SkPath::kSmall_ArcSize, SkPathDirection::kCW, {32, 56}); in REG_FIDDLE()
H A Dbug583299.cpp838 path.arcTo(oval1, start, end - start, false); in REG_FIDDLE()
840 path.arcTo(oval2, end, start - end, false); in REG_FIDDLE()
H A Dbug767834.cpp1242 path.arcTo(oval1, start, end - start, false); in REG_FIDDLE()
1244 path.arcTo(oval2, end, start - end, false); in REG_FIDDLE()
H A DPath_ArcSize.cpp14 path.arcTo(70, 40, 30, arcSize, sweep, 156, 100); in REG_FIDDLE()
H A DPath_arcTo_2_c.cpp9 path.arcTo(200, 20, 170, 50, 50); in REG_FIDDLE()
H A DPath_arcTo_3.cpp9 path.arcTo({200, 20}, {170, 20}, 50); in REG_FIDDLE()
H A DSkPath_arcTo_example.cpp19 arc.arcTo(oval, startAngle, sweepAngle, false); in REG_FIDDLE()
H A DPath_arcTo_4.cpp14 path.arcTo(70, 40, 30, arcSize, sweep, 120.1f, 50); in REG_FIDDLE()
H A Dissue640176.cpp16 path.arcTo(oval, startAngle * 180 / 3.14159265359, in REG_FIDDLE()
H A DConic_Weight_b.cpp10 path.arcTo(20, 0, 20, 20, 20); in REG_FIDDLE()
H A DPath_conicTo_2.cpp14 path.arcTo(oval, -90, 90 - 20 * i, false); in REG_FIDDLE()
H A DPath_arcTo_2_a.cpp20 path.arcTo(pts[1], pts[2], radius); in REG_FIDDLE()
H A DPath_arcTo_2_b.cpp20 path.arcTo(pts[1], pts[2], radius); in REG_FIDDLE()
/third_party/skia/samplecode/
H A DSampleClock.cpp162 path.arcTo(rect, 0, 0, false);
164 path.arcTo(rect, 360, 0, true);
172 path.arcTo(rect, 0, 0, false);
174 path.arcTo(rect, 360, 0, true);
182 path.arcTo(rect, 0, 0, false);
184 path.arcTo(rect, 360, 0, true);
198 path.arcTo(rect, 0, 0, false);
200 path.arcTo(rect, 360, 0, true);
H A DSampleAndroidShadows.cpp77 fNotchPath.arcTo(SkRect::MakeLTRB(-20, 80, 20, 120), -90, -90, false);
82 fNotchPath.arcTo(SkRect::MakeLTRB(-20, 80, 20, 120), 0, -90, false);
87 fTabPath.arcTo(SkRect::MakeLTRB(-20, 80, 20, 120), 0, 90, false);
88 fTabPath.arcTo(SkRect::MakeLTRB(-20, 80, 20, 120), 90, 90, false);
/third_party/skia/gm/
H A Darcto.cpp34 (Note that Skia's arcTo Direction parameter value is opposite SVG's sweep value, e.g. 0 / 1)
81 svgArc.arcTo({oval.width() / 2, ovalHeight}, angle, SkPathBuilder::kSmall_ArcSize, in DEF_SIMPLE_GM()
86 svgArc.arcTo({oval.width() / 2, ovalHeight}, angle, SkPathBuilder::kLarge_ArcSize, in DEF_SIMPLE_GM()
116 .arcTo({0, 0}, 0, SkPathBuilder::kLarge_ArcSize, SkPathDirection::kCW, {200, 200}); in DEF_SIMPLE_GM()
120 .arcTo({80, 80}, 0, SkPathBuilder::kLarge_ArcSize, SkPathDirection::kCW, {200, 100}); in DEF_SIMPLE_GM()
205 p.arcTo(oval, 1.25f * 180, .5f * 180, false); in DEF_SIMPLE_GM()
H A Dpatharcto.cpp18 // The fix was to use doubles for this part of the calc in SkPath::arcTo().
26 .arcTo({284.3113082008462f, 207.1407719157063f}, in DEF_SIMPLE_GM()
30 .arcTo({340.4737465981018f, 252.6907319346971f}, in DEF_SIMPLE_GM()
34 .arcTo({350.19513833839466f, 185.89280014838369f}, in DEF_SIMPLE_GM()
H A Dcrbug_996140.cpp69 auto path = SkPathBuilder().arcTo(boundingBox, 0, 180.f, false) in DEF_SIMPLE_GM_BG()
70 .arcTo(boundingBox, 180.f, 180.f, false) in DEF_SIMPLE_GM_BG()
/third_party/skia/include/core/
H A DSkPath.h826 arcTo() adds line connecting SkPath last SkPoint to initial arc SkPoint if forceMoveTo
838 SkPath& arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, bool forceMoveTo);
845 If last Path Point does not start Arc, arcTo appends connecting Line to Path.
849 tangents are nearly parallel, arcTo appends Line from last Path Point to (x1, y1).
851 arcTo appends at most one Line and one conic.
852 arcTo implements the functionality of PostScript arct and HTML Canvas arcTo.
865 SkPath& arcTo(SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2, SkScalar radius);
872 If last SkPath SkPoint does not start arc, arcTo() appends connecting line to SkPath.
876 tangents are nearly parallel, arcTo() append
886 SkPath& arcTo(const SkPoint p1, const SkPoint p2, SkScalar radius) { arcTo() function in SkPath
949 SkPath& arcTo(const SkPoint r, SkScalar xAxisRotate, ArcSize largeArc, SkPathDirection sweep, arcTo() function in SkPath
[all...]
H A DSkPathBuilder.h98 arcTo() adds line connecting the builder's last point to initial arc point if forceMoveTo
108 SkPathBuilder& arcTo(const SkRect& oval, SkScalar startAngleDeg, SkScalar sweepAngleDeg,
116 If last SkPath SkPoint does not start arc, arcTo() appends connecting line to SkPath.
120 tangents are nearly parallel, arcTo() appends line from last SkPath SkPoint to p1.
122 arcTo() appends at most one line and one conic.
123 arcTo() implements the functionality of PostScript arct and HTML Canvas arcTo.
130 SkPathBuilder& arcTo(SkPoint p1, SkPoint p2, SkScalar radius);
143 Arc sweep is always less than 360 degrees. arcTo() appends line to xy if either
144 radii are zero, or if last SkPath SkPoint equals (xy.fX, xy.fY). arcTo() scale
[all...]
/third_party/skia/modules/canvaskit/htmlcanvas/
H A Dpath2d.js9 function arcTo(skpath, x1, y1, x2, y2, radius) { function
174 this.arcTo = function(x1, y1, x2, y2, radius) {
175 arcTo(this._path, x1, y1, x2, y2, radius);

Completed in 9 milliseconds

123