/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); 45 var startDegrees = radiansToDegrees(startAngle); 61 startAngle, endAngle, ccw) { argument 62 if (!allAreFinite([x, y, radiusX, radiusY, rotation, startAngle, endAngle])) { 71 var newStartAngle = startAngle % tao; 75 var delta = newStartAngle - startAngle; 76 startAngle = newStartAngle; [all …]
|
/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); 45 var startDegrees = radiansToDegrees(startAngle); 61 startAngle, endAngle, ccw) { argument 62 if (!allAreFinite([x, y, radiusX, radiusY, rotation, startAngle, endAngle])) { 71 var newStartAngle = startAngle % tao; 75 var delta = newStartAngle - startAngle; 76 startAngle = newStartAngle; [all …]
|
/external/skia/docs/examples/ |
D | issue640176.cpp | 9 float startAngle = -0.5235985, endAngle = -2.439e-4, radius = 120; in draw() local 14 path.lineTo(radius * cos(startAngle), radius * sin(startAngle)); in draw() 16 path.arcTo(oval, startAngle * 180 / 3.14159265359, in draw() 17 (endAngle - startAngle) * 180 / 3.14159265359, false); in draw()
|
D | SkPath_arcto_conic_parametric.cpp | 25 float startAngle = 0; in draw() local 29 arc.arcTo(oval, startAngle, sweepAngle, false); in draw() 41 float finalAngle = startAngle + sweepAngle; in draw() 42 float middleAngle = startAngle + 0.5f * sweepAngle; in draw() 44 SkPoint p0 = {r * SkScalarCos(SkDegreesToRadians(startAngle)), in draw() 45 r * SkScalarSin(SkDegreesToRadians(startAngle))}; in draw()
|
D | SkPath_arcto_conic_parametric2.cpp | 42 float startAngle = 15; in draw() local 46 arc.arcTo(oval, startAngle, sweepAngle, false); in draw() 59 float finalAngle = startAngle + sweepAngle; in draw() 60 float middleAngle = startAngle + 0.5f * sweepAngle; in draw() 62 SkPoint p0 = {r * SkScalarCos(SkDegreesToRadians(startAngle)), in draw() 63 r * SkScalarSin(SkDegreesToRadians(startAngle))}; in draw()
|
D | SkPath_arcTo_example.cpp | 15 float startAngle = 0; in draw() local 19 arc.arcTo(oval, startAngle, sweepAngle, false); in draw()
|
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/pie/ |
D | PieRenderer.java | 80 float rad, float startAngle, float sweep) { in drawSegment() argument 99 PointF r1Outer = calculateLineEnd(cx, cy, rad, startAngle); in drawSegment() 100 PointF r1Inner = calculateLineEnd(cx, cy, donutSizePx, startAngle); in drawSegment() 103 PointF r2Outer = calculateLineEnd(cx, cy, rad, startAngle + sweep); in drawSegment() 104 PointF r2Inner = calculateLineEnd(cx, cy, donutSizePx, startAngle + sweep); in drawSegment() 119 startAngle, sweep); in drawSegment() 125 p.arcTo(bounds, startAngle, sweep); in drawSegment() 134 startAngle + sweep, -sweep); in drawSegment() 153 (rad-((rad- donutSizePx)/2)), startAngle + (sweep/2)); in drawSegment()
|
/external/skqp/src/shaders/gradients/ |
D | SkSweepGradient.cpp | 44 SkScalar startAngle = 0, 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 | 834 SkScalar startAngle, in MakeSweep() argument 840 mode, startAngle, endAngle, flags, localMatrix); in MakeSweep() 849 SkScalar startAngle, in MakeSweep() argument 859 if (!SkScalarIsFinite(startAngle) || !SkScalarIsFinite(endAngle) || startAngle > endAngle) { in MakeSweep() 866 if (SkScalarNearlyEqual(startAngle, endAngle, kDegenerateThreshold)) { in MakeSweep() 882 if (startAngle <= 0 && endAngle >= 360) { in MakeSweep() 893 const SkScalar t0 = startAngle / 360, in MakeSweep()
|
/external/skia/gm/ |
D | addarc.cpp | 51 SkScalar startAngle = rand.nextUScalar1() * 360; in onDraw() local 54 startAngle += fRotate * 360 * speed * sign; in onDraw() 57 path.addArc(r, startAngle, sweepAngle); in onDraw() 257 SkScalar startAngle = startAngles[i % SK_ARRAY_COUNT(startAngles)] * sign; variable 262 html_canvas_arc(&path, 18, 15, 10, startAngle, startAngle + (sweepAngles[j] * sign),
|
/external/skqp/gm/ |
D | addarc.cpp | 41 SkScalar startAngle = rand.nextUScalar1() * 360; in onDraw() local 44 startAngle += fRotate * 360 * speed * sign; in onDraw() 47 path.addArc(r, startAngle, sweepAngle); in onDraw() 247 SkScalar startAngle = startAngles[i % SK_ARRAY_COUNT(startAngles)] * sign; variable 252 html_canvas_arc(&path, 18, 15, 10, startAngle, startAngle + (sweepAngles[j] * sign),
|
/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 …PathKit.SkPath.prototype.ellipse = function(x, y, radiusX, radiusY, rotation, startAngle, endAngle… 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() 329 temp.addArc(bounds, SkRadiansToDegrees(startAngle), sweep); 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() 340 temp.addArc(bounds, SkRadiansToDegrees(startAngle), sweep); 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 …PathKit.SkPath.prototype.ellipse = function(x, y, radiusX, radiusY, rotation, startAngle, endAngle… 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() 329 temp.addArc(bounds, SkRadiansToDegrees(startAngle), sweep); 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() 340 temp.addArc(bounds, SkRadiansToDegrees(startAngle), sweep); in ApplyEllipse()
|
/external/pdfium/xfa/fxgraphics/ |
D | cxfa_gepath.h | 33 float startAngle, 41 float startAngle,
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowPath.java | 383 protected void arcTo(RectF oval, float startAngle, float sweepAngle) { in arcTo() argument 384 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, false); in arcTo() 388 protected void arcTo(RectF oval, float startAngle, float sweepAngle, boolean forceMoveTo) { in arcTo() argument 389 arcTo(oval.left, oval.top, oval.right, oval.bottom, startAngle, sweepAngle, forceMoveTo); in arcTo() 398 float startAngle, in arcTo() argument 404 left, top, right - left, bottom - top, -startAngle, -sweepAngle, Arc2D.OPEN); in arcTo() 457 float left, float top, float right, float bottom, float startAngle, float sweepAngle) { in addArc() argument 460 left, top, right - left, bottom - top, -startAngle, -sweepAngle, Arc2D.OPEN), in addArc()
|
D | ShadowCanvas.java | 196 RectF oval, float startAngle, float sweepAngle, boolean useCenter, Paint paint) { in drawArc() argument 197 arcPaintEvents.add(new ArcPaintHistoryEvent(oval, startAngle, sweepAngle, useCenter, paint)); in drawArc() 446 public final float startAngle; field in ShadowCanvas.ArcPaintHistoryEvent 451 public ArcPaintHistoryEvent(RectF oval, float startAngle, float sweepAngle, boolean useCenter, in ArcPaintHistoryEvent() argument 454 this.startAngle = startAngle; in ArcPaintHistoryEvent()
|
/external/angle/samples/particle_system/ |
D | ParticleSystem.cpp | 102 float startAngle = mRNG.randomFloatBetween(0, 2.0f * float(M_PI)); in initialize() local 104 mParticles[i].startPosition.x() = sinf(startAngle) * startRadius; in initialize() 105 mParticles[i].startPosition.y() = cosf(startAngle) * startRadius; in initialize()
|
/external/skia/src/shaders/gradients/ |
D | SkSweepGradient.cpp | 43 SkScalar startAngle = 0, in CreateProc() local 48 std::tie(startAngle, endAngle) = angles_from_t_coeff(tBias, tScale); in CreateProc() 53 desc.fTileMode, startAngle, endAngle, in CreateProc()
|
/external/proguard/src/proguard/gui/splash/ |
D | OverrideGraphics2D.java | 274 public void drawArc(int x, int y, int width, int height, int startAngle, int arcAngle) in drawArc() argument 276 graphics.drawArc(x, y, width, height, startAngle, arcAngle); in drawArc() 414 public void fillArc(int x, int y, int width, int height, int startAngle, int arcAngle) in fillArc() argument 416 graphics.fillArc(x, y, width, height, startAngle, arcAngle); in fillArc()
|
/external/skqp/src/gpu/ops/ |
D | GrOvalOpFactory.h | 47 SkScalar startAngle,
|
/external/skia/src/core/ |
D | SkPath.cpp | 825 static bool arc_is_lone_point(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, in arc_is_lone_point() argument 827 if (0 == sweepAngle && (0 == startAngle || SkIntToScalar(360) == startAngle)) { in arc_is_lone_point() 848 static void angles_to_unit_vectors(SkScalar startAngle, SkScalar sweepAngle, in angles_to_unit_vectors() argument 850 SkScalar startRad = SkDegreesToRadians(startAngle), in angles_to_unit_vectors() 851 stopRad = SkDegreesToRadians(startAngle + sweepAngle); in angles_to_unit_vectors() 1071 SkPath& SkPath::arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, in arcTo() argument 1082 if (arc_is_lone_point(oval, startAngle, sweepAngle, &lonePt)) { in arcTo() 1088 angles_to_unit_vectors(startAngle, sweepAngle, &startV, &stopV, &dir); in arcTo() 1110 SkScalar endAngle = SkDegreesToRadians(startAngle + sweepAngle); in arcTo() 1282 SkPath& SkPath::addArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle) { in addArc() argument [all …]
|