/third_party/skia/docs/examples/ |
H A D | ChromeMDRefreshTab.cpp | 18 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 D | ChromeMDRefreshTabs.cpp | 25 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 D | Path_arcTo.cpp | 12 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 D | Arc.cpp | 25 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 D | fivearcs.cpp | 17 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 D | bug583299.cpp | 838 path.arcTo(oval1, start, end - start, false); in REG_FIDDLE() 840 path.arcTo(oval2, end, start - end, false); in REG_FIDDLE()
|
H A D | bug767834.cpp | 1242 path.arcTo(oval1, start, end - start, false); in REG_FIDDLE() 1244 path.arcTo(oval2, end, start - end, false); in REG_FIDDLE()
|
H A D | Path_ArcSize.cpp | 14 path.arcTo(70, 40, 30, arcSize, sweep, 156, 100); in REG_FIDDLE()
|
H A D | Path_arcTo_2_c.cpp | 9 path.arcTo(200, 20, 170, 50, 50); in REG_FIDDLE()
|
H A D | Path_arcTo_3.cpp | 9 path.arcTo({200, 20}, {170, 20}, 50); in REG_FIDDLE()
|
H A D | SkPath_arcTo_example.cpp | 19 arc.arcTo(oval, startAngle, sweepAngle, false); in REG_FIDDLE()
|
H A D | Path_arcTo_4.cpp | 14 path.arcTo(70, 40, 30, arcSize, sweep, 120.1f, 50); in REG_FIDDLE()
|
H A D | issue640176.cpp | 16 path.arcTo(oval, startAngle * 180 / 3.14159265359, in REG_FIDDLE()
|
H A D | Conic_Weight_b.cpp | 10 path.arcTo(20, 0, 20, 20, 20); in REG_FIDDLE()
|
H A D | Path_conicTo_2.cpp | 14 path.arcTo(oval, -90, 90 - 20 * i, false); in REG_FIDDLE()
|
H A D | Path_arcTo_2_a.cpp | 20 path.arcTo(pts[1], pts[2], radius); in REG_FIDDLE()
|
H A D | Path_arcTo_2_b.cpp | 20 path.arcTo(pts[1], pts[2], radius); in REG_FIDDLE()
|
/third_party/skia/samplecode/ |
H A D | SampleClock.cpp | 162 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 D | SampleAndroidShadows.cpp | 77 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 D | arcto.cpp | 34 (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 D | patharcto.cpp | 18 // 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 D | crbug_996140.cpp | 69 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 D | SkPath.h | 826 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 D | SkPathBuilder.h | 98 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 D | path2d.js | 9 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);
|