/external/skqp/experimental/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 | 491 this.arc = function(x, y, radius, startAngle, endAngle, ccw) { argument 492 arc(this._currentPath, x, y, radius, startAngle, endAngle, ccw); 623 startAngle, endAngle, ccw) { argument 625 startAngle, endAngle, ccw);
|
/external/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);
|
/external/skqp/src/shaders/gradients/ |
D | SkSweepGradient.cpp | 45 endAngle = 360; in CreateProc() local 49 std::tie(startAngle, endAngle) = angles_from_t_coeff(tBias, tScale); in CreateProc() 54 desc.fTileMode, startAngle, endAngle, in CreateProc() 68 SkScalar startAngle, endAngle; in onMakeColorSpace() local 69 std::tie(startAngle, endAngle) = angles_from_t_coeff(fTBias, fTScale); in onMakeColorSpace() 72 fOrigPos, fColorCount, fTileMode, startAngle, endAngle, in onMakeColorSpace()
|
D | SkGradientShader.cpp | 835 SkScalar endAngle, in MakeSweep() argument 840 mode, startAngle, endAngle, flags, localMatrix); in MakeSweep() 850 SkScalar endAngle, in MakeSweep() argument 859 if (!SkScalarIsFinite(startAngle) || !SkScalarIsFinite(endAngle) || startAngle > endAngle) { in MakeSweep() 866 if (SkScalarNearlyEqual(startAngle, endAngle, kDegenerateThreshold)) { in MakeSweep() 869 if (mode == SkShader::kClamp_TileMode && endAngle > kDegenerateThreshold) { in MakeSweep() 876 endAngle, flags, localMatrix); in MakeSweep() 882 if (startAngle <= 0 && endAngle >= 360) { in MakeSweep() 894 t1 = endAngle / 360; in MakeSweep()
|
/external/skqp/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()
|
/external/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()
|
/external/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()
|
/external/skqp/gm/ |
D | addarc.cpp | 280 SkScalar endAngle = startAngles[i] + sweepAngle; variable 287 startAngles[i] * 180 / SK_ScalarPI, endAngle * 180 / SK_ScalarPI, 289 path.lineTo(centerX + innerRadius * sk_float_cos(endAngle), 290 centerY + innerRadius * sk_float_sin(endAngle)); 292 endAngle * 180 / SK_ScalarPI, startAngles[i] * 180 / SK_ScalarPI,
|
/external/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,
|
/external/angle/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()
|
/external/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()
|
/external/skia/include/effects/ |
D | SkGradientShader.h | 213 SkScalar startAngle, SkScalar endAngle, 246 SkScalar startAngle, SkScalar endAngle,
|
/external/skqp/include/effects/ |
D | SkGradientShader.h | 208 SkScalar startAngle, SkScalar endAngle, 241 SkScalar startAngle, SkScalar endAngle,
|
/external/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); 954 …dient = function(cx, cy, colors, pos, mode, localMatrix, flags, startAngle, endAngle, colorSpace) { argument 960 endAngle = endAngle || 360; 965 startAngle, endAngle, flags,
|
/external/skia/src/ports/ |
D | SkFontHost_FreeType_common.cpp | 595 SkScalar endAngle = SkFixedToScalar(colrv1_paint.u.sweep_gradient.end_angle); in colrv1_configure_skpaint() local 612 endAngle = clampAngleToRange(endAngle); in colrv1_configure_skpaint() 616 if (startAngle >= endAngle) in colrv1_configure_skpaint() 617 endAngle += 360.f; in colrv1_configure_skpaint() 627 SkTileMode::kDecal, startAngle, endAngle, 0, &angle_adjust)); in colrv1_configure_skpaint()
|
/external/skia/src/core/ |
D | SkPathBuilder.cpp | 347 SkScalar endAngle = SkDegreesToRadians(startAngle + sweepAngle); in arcTo() local 353 singlePt.set(oval.centerX() + radiusX * SkScalarCos(endAngle), in arcTo() 354 oval.centerY() + radiusY * SkScalarSin(endAngle)); in arcTo()
|
/external/skia/site/docs/user/modules/ |
D | pathkit.md | 449 #### `arc(x, y, radius, startAngle, endAngle, ccw=false)` 452 `Number`, The radius of the arc. <br> **startAngle, endAngle** - `Number`, the 455 should be drawn counter-clockwise between **startAngle** and **endAngle** 535 #### `ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle, ccw=false)` 540 **startAngle, endAngle** - `Number`, the starting and ending angles of which to 543 between **startAngle** and **endAngle** instead of clockwise, the default.
|
/external/skqp/site/user/modules/ |
D | pathkit.md | 425 #### `arc(x, y, radius, startAngle, endAngle, ccw=false)` #### 428 **startAngle, endAngle** - `Number`, the start and end of the angle, measured 431 counter-clockwise between **startAngle** and **endAngle** instead of 500 #### `ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle, ccw=false)` #### 504 **startAngle, endAngle** - `Number`, the starting and ending angles of which to draw, 507 counter-clockwise between **startAngle** and **endAngle** instead of
|