/third_party/flutter/skia/modules/canvaskit/htmlcanvas/ |
D | path2d.js | 3 function arc(skpath, x, y, radius, startAngle, endAngle, ccw) { argument 6 ellipse(skpath, x, y, radius, radius, 0, startAngle, endAngle, ccw); 43 function _ellipseHelper(skpath, x, y, radiusX, radiusY, startAngle, endAngle) { argument 44 var sweepDegrees = radiansToDegrees(endAngle - startAngle); 61 startAngle, endAngle, ccw) { argument 62 if (!allAreFinite([x, y, radiusX, radiusY, rotation, startAngle, endAngle])) { 77 endAngle += delta; 80 if (!ccw && (endAngle - startAngle) >= tao) { 82 endAngle = startAngle + tao; 83 } else if (ccw && (startAngle - endAngle) >= tao) { [all …]
|
/third_party/skia/modules/canvaskit/htmlcanvas/ |
D | path2d.js | 3 function arc(skpath, x, y, radius, startAngle, endAngle, ccw) { argument 6 ellipse(skpath, x, y, radius, radius, 0, startAngle, endAngle, ccw); 43 function _ellipseHelper(skpath, x, y, radiusX, radiusY, startAngle, endAngle) { argument 44 var sweepDegrees = radiansToDegrees(endAngle - startAngle); 61 startAngle, endAngle, ccw) { argument 62 if (!allAreFinite([x, y, radiusX, radiusY, rotation, startAngle, endAngle])) { 77 endAngle += delta; 80 if (!ccw && (endAngle - startAngle) >= tao) { 82 endAngle = startAngle + tao; 83 } else if (ccw && (startAngle - endAngle) >= tao) { [all …]
|
D | canvas2dcontext.js | 472 this.arc = function(x, y, radius, startAngle, endAngle, ccw) { argument 473 arc(this._currentPath, x, y, radius, startAngle, endAngle, ccw); 594 startAngle, endAngle, ccw) { argument 596 startAngle, endAngle, ccw);
|
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/ |
D | SweepGradient.java | 14 public SweepGradient(float x, float y, float startAngle, float endAngle, in SweepGradient() argument 18 (c, p, t, m) -> nMakeSweep(x, y, startAngle, endAngle, c, p, t, m)); in SweepGradient() 21 public SweepGradient(float x, float y, float startAngle, float endAngle, in SweepGradient() argument 23 this(x, y, startAngle, endAngle, colors, pos, tm, null); in SweepGradient() 31 public SweepGradient(float x, float y, float startAngle, float endAngle, in SweepGradient() argument 35 (c, p, t, m) -> nMakeSweep(x, y, startAngle, endAngle, c, p, t, m)); in SweepGradient() 38 public SweepGradient(float x, float y, float startAngle, float endAngle, in SweepGradient() argument 40 this(x, y, startAngle, endAngle, colors, pos, tm, null); in SweepGradient()
|
/third_party/skia/modules/pathkit/ |
D | externs.js | 42 _arc: function(x, y, radius, startAngle, endAngle, ccw) {}, argument 49 _ellipse: function(x, y, radiusX, radiusY, rotation, startAngle, endAngle, ccw) {}, argument 90 PathKit.SkPath.prototype.arc = function(x, y, radius, startAngle, endAngle, ccw) {}; argument 98 PathKit.SkPath.prototype.ellipse = function(x, y, radiusX, radiusY, rotation, startAngle, endAngle,… argument
|
D | chaining.js | 52 PathKit.SkPath.prototype.arc = function(x, y, radius, startAngle, endAngle, ccw) { argument 53 this._arc(x, y, radius, startAngle, endAngle, !!ccw); 97 ….SkPath.prototype.ellipse = function(x, y, radiusX, radiusY, rotation, startAngle, endAngle, ccw) { argument 98 this._ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle, !!ccw);
|
D | pathkit_wasm_bindings.cpp | 312 SkScalar startAngle, SkScalar endAngle, bool ccw) { in ApplyAddArc() argument 315 const auto sweep = SkRadiansToDegrees(endAngle - startAngle) - 360 * ccw; in ApplyAddArc() 321 SkScalar rotation, SkScalar startAngle, SkScalar endAngle, bool ccw) { in ApplyEllipse() argument 326 const auto sweep = SkRadiansToDegrees(endAngle - startAngle) - (360 * ccw); in ApplyEllipse()
|
/third_party/flutter/skia/modules/pathkit/ |
D | externs.js | 42 _arc: function(x, y, radius, startAngle, endAngle, ccw) {}, argument 49 _ellipse: function(x, y, radiusX, radiusY, rotation, startAngle, endAngle, ccw) {}, argument 90 PathKit.SkPath.prototype.arc = function(x, y, radius, startAngle, endAngle, ccw) {}; argument 98 PathKit.SkPath.prototype.ellipse = function(x, y, radiusX, radiusY, rotation, startAngle, endAngle,… argument
|
D | chaining.js | 52 PathKit.SkPath.prototype.arc = function(x, y, radius, startAngle, endAngle, ccw) { argument 53 this._arc(x, y, radius, startAngle, endAngle, !!ccw); 97 ….SkPath.prototype.ellipse = function(x, y, radiusX, radiusY, rotation, startAngle, endAngle, ccw) { argument 98 this._ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle, !!ccw);
|
D | pathkit_wasm_bindings.cpp | 325 SkScalar startAngle, SkScalar endAngle, bool ccw) { in ApplyAddArc() argument 328 const auto sweep = SkRadiansToDegrees(endAngle - startAngle) - 360 * ccw; in ApplyAddArc() 334 SkScalar rotation, SkScalar startAngle, SkScalar endAngle, bool ccw) { in ApplyEllipse() argument 339 const auto sweep = SkRadiansToDegrees(endAngle - startAngle) - (360 * ccw); in ApplyEllipse()
|
/third_party/flutter/skia/src/shaders/gradients/ |
D | SkSweepGradient.cpp | 44 endAngle = 360; in CreateProc() local 48 std::tie(startAngle, endAngle) = angles_from_t_coeff(tBias, tScale); in CreateProc() 53 desc.fTileMode, startAngle, endAngle, in CreateProc()
|
D | SkGradientShader.cpp | 817 SkScalar endAngle, in MakeSweep() argument 822 mode, startAngle, endAngle, flags, localMatrix); in MakeSweep() 832 SkScalar endAngle, in MakeSweep() argument 841 if (!SkScalarIsFinite(startAngle) || !SkScalarIsFinite(endAngle) || startAngle > endAngle) { in MakeSweep() 848 if (SkScalarNearlyEqual(startAngle, endAngle, kDegenerateThreshold)) { in MakeSweep() 851 if (mode == SkTileMode::kClamp && endAngle > kDegenerateThreshold) { in MakeSweep() 858 endAngle, flags, localMatrix); in MakeSweep() 864 if (startAngle <= 0 && endAngle >= 360) { in MakeSweep() 876 t1 = endAngle / 360; in MakeSweep()
|
/third_party/skia/docs/examples/ |
D | issue640176.cpp | 9 float startAngle = -0.5235985, endAngle = -2.439e-4, radius = 120; in draw() local 17 (endAngle - startAngle) * 180 / 3.14159265359, false); in draw()
|
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/ |
D | path_to_svg.dart | 40 if ((ellipse.endAngle - ellipse.startAngle) % (2 * math.pi) == 0.0) { 71 ellipse.endAngle, 165 double endAngle, 176 final double xe = math.cos(endAngle) * radiusX; 177 final double ye = math.sin(endAngle) * radiusY; 182 final double delta = endAngle - startAngle;
|
/third_party/skia/gm/ |
D | addarc.cpp | 288 SkScalar endAngle = startAngles[i] + sweepAngle; variable 295 startAngles[i] * 180 / SK_ScalarPI, endAngle * 180 / SK_ScalarPI, 297 path.lineTo(centerX + innerRadius * sk_float_cos(endAngle), 298 centerY + innerRadius * sk_float_sin(endAngle)); 300 endAngle * 180 / SK_ScalarPI, startAngles[i] * 180 / SK_ScalarPI,
|
/third_party/flutter/skia/gm/ |
D | addarc.cpp | 290 SkScalar endAngle = startAngles[i] + sweepAngle; variable 297 startAngles[i] * 180 / SK_ScalarPI, endAngle * 180 / SK_ScalarPI, 299 path.lineTo(centerX + innerRadius * sk_float_cos(endAngle), 300 centerY + innerRadius * sk_float_sin(endAngle)); 302 endAngle * 180 / SK_ScalarPI, startAngles[i] * 180 / SK_ScalarPI,
|
/third_party/skia/third_party/externals/angle2/samples/particle_system/ |
D | ParticleSystem.cpp | 96 float endAngle = mRNG.randomFloatBetween(0, 2.0f * float(M_PI)); in initialize() local 98 mParticles[i].endPosition.x() = sinf(endAngle) * endRadius; in initialize() 99 mParticles[i].endPosition.y() = cosf(endAngle) * endRadius; in initialize()
|
/third_party/flutter/skia/third_party/externals/angle2/samples/particle_system/ |
D | ParticleSystem.cpp | 95 float endAngle = mRNG.randomFloatBetween(0, 2.0f * float(M_PI)); in initialize() local 97 mParticles[i].endPosition.x() = sinf(endAngle) * endRadius; in initialize() 98 mParticles[i].endPosition.y() = cosf(endAngle) * endRadius; in initialize()
|
/third_party/flutter/flutter/packages/flutter/test/painting/ |
D | gradient_test.dart | 489 endAngle: math.pi / 2, 498 endAngle: math.pi, 509 endAngle: math.pi * 3/4, 525 endAngle: math.pi / 2, 538 endAngle: math.pi, 553 endAngle: math.pi * 3/4, 642 endAngle: math.pi / 2, 654 endAngle: math.pi / 2,
|
/third_party/skia/src/shaders/gradients/ |
D | SkGradientShader.cpp | 1016 SkScalar endAngle, in MakeSweep() argument 1021 mode, startAngle, endAngle, flags, localMatrix); in MakeSweep() 1031 SkScalar endAngle, in MakeSweep() argument 1040 if (!SkScalarIsFinite(startAngle) || !SkScalarIsFinite(endAngle) || startAngle > endAngle) { in MakeSweep() 1047 if (SkScalarNearlyEqual(startAngle, endAngle, kDegenerateThreshold)) { in MakeSweep() 1050 if (mode == SkTileMode::kClamp && endAngle > kDegenerateThreshold) { in MakeSweep() 1057 endAngle, flags, localMatrix); in MakeSweep() 1063 if (startAngle <= 0 && endAngle >= 360) { in MakeSweep() 1075 t1 = endAngle / 360; in MakeSweep()
|
D | SkSweepGradient.cpp | 45 auto [startAngle, endAngle] = angles_from_t_coeff(tBias, tScale); in CreateProc() 49 desc.fTileMode, startAngle, endAngle, in CreateProc()
|
/third_party/flutter/flutter/packages/flutter/lib/src/painting/ |
D | gradient.dart | 739 /// A gradient has a [center], a [startAngle], and an [endAngle]. The [startAngle] 740 /// corresponds to 0.0, and the [endAngle] corresponds to 1.0. These angles are 749 /// The region of the canvas before [startAngle] and after [endAngle] is colored 765 /// endAngle: math.pi * 2, 796 this.endAngle = math.pi * 2, 802 assert(endAngle != null), 830 final double endAngle; 833 /// [startAngle] and after [endAngle]. 848 endAngle, 861 endAngle: endAngle, [all …]
|
/third_party/flutter/skia/include/effects/ |
D | SkGradientShader.h | 208 SkScalar startAngle, SkScalar endAngle, 241 SkScalar startAngle, SkScalar endAngle,
|
/third_party/skia/include/effects/ |
D | SkGradientShader.h | 213 SkScalar startAngle, SkScalar endAngle, 246 SkScalar startAngle, SkScalar endAngle,
|
/third_party/skia/modules/canvaskit/ |
D | interface.js | 168 CanvasKit.Path.prototype.arc = function(x, y, radius, startAngle, endAngle, ccw) { argument 172 var sweep = radiansToDegrees(endAngle - startAngle) - (360 * !!ccw); 1039 …dient = function(cx, cy, colors, pos, mode, localMatrix, flags, startAngle, endAngle, colorSpace) { argument 1045 endAngle = endAngle || 360; 1050 startAngle, endAngle, flags,
|