/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/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/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 | 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/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/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/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/pdfium/xfa/fxfa/parser/ |
D | cxfa_box.cpp | 259 Optional<int32_t> startAngle = GetStartAngle(); in GetPathArcOrRounded() local 261 if (!startAngle && !sweepAngle) { in GetPathArcOrRounded() 267 -startAngle.value_or(0) * FX_PI / 180.0f, in GetPathArcOrRounded() 327 float startAngle = 0, sweepAngle = 360; in StrokeArcOrRounded() local 328 startAngle = startAngle * FX_PI / 180.0f; in StrokeArcOrRounded()
|
/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/pdfium/xfa/fxgraphics/ |
D | cxfa_gepath.h | 33 float startAngle, 41 float startAngle,
|
/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/pdfium/fxjs/xfa/ |
D | cjx_arc.h | 21 JS_PROP(startAngle);
|
/external/skia/src/core/ |
D | SkPath.cpp | 1091 static bool arc_is_lone_point(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, in arc_is_lone_point() argument 1093 if (0 == sweepAngle && (0 == startAngle || SkIntToScalar(360) == startAngle)) { in arc_is_lone_point() 1114 static void angles_to_unit_vectors(SkScalar startAngle, SkScalar sweepAngle, in angles_to_unit_vectors() argument 1116 startV->fY = SkScalarSinCos(SkDegreesToRadians(startAngle), &startV->fX); in angles_to_unit_vectors() 1117 stopV->fY = SkScalarSinCos(SkDegreesToRadians(startAngle + sweepAngle), &stopV->fX); in angles_to_unit_vectors() 1130 SkScalar stopRad = SkDegreesToRadians(startAngle + sweepAngle); in angles_to_unit_vectors() 1332 SkPath& SkPath::arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, in arcTo() argument 1343 if (arc_is_lone_point(oval, startAngle, sweepAngle, &lonePt)) { in arcTo() 1349 angles_to_unit_vectors(startAngle, sweepAngle, &startV, &stopV, &dir); in arcTo() 1371 SkScalar endAngle = SkDegreesToRadians(startAngle + sweepAngle); in arcTo() [all …]
|
/external/skqp/src/core/ |
D | SkPath.cpp | 1091 static bool arc_is_lone_point(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, in arc_is_lone_point() argument 1093 if (0 == sweepAngle && (0 == startAngle || SkIntToScalar(360) == startAngle)) { in arc_is_lone_point() 1114 static void angles_to_unit_vectors(SkScalar startAngle, SkScalar sweepAngle, in angles_to_unit_vectors() argument 1116 startV->fY = SkScalarSinCos(SkDegreesToRadians(startAngle), &startV->fX); in angles_to_unit_vectors() 1117 stopV->fY = SkScalarSinCos(SkDegreesToRadians(startAngle + sweepAngle), &stopV->fX); in angles_to_unit_vectors() 1130 SkScalar stopRad = SkDegreesToRadians(startAngle + sweepAngle); in angles_to_unit_vectors() 1332 SkPath& SkPath::arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, in arcTo() argument 1343 if (arc_is_lone_point(oval, startAngle, sweepAngle, &lonePt)) { in arcTo() 1349 angles_to_unit_vectors(startAngle, sweepAngle, &startV, &stopV, &dir); in arcTo() 1371 SkScalar endAngle = SkDegreesToRadians(startAngle + sweepAngle); in arcTo() [all …]
|
/external/skia/modules/canvaskit/ |
D | interface.js | 126 CanvasKit.SkPath.prototype.addArc = function(oval, startAngle, sweepAngle) { argument 129 this._addArc(oval, startAngle, sweepAngle); 230 CanvasKit.SkPath.prototype.arc = function(x, y, radius, startAngle, endAngle, ccw) { argument 234 var sweep = radiansToDegrees(endAngle - startAngle) - (360 * !!ccw); 236 temp.addArc(bounds, radiansToDegrees(startAngle), sweep);
|
/external/skqp/samplecode/ |
D | SamplePathFuzz.cpp | 376 SkScalar startAngle = makeAngle(); in makePath() local 378 path.addArc(oval, startAngle, sweepAngle); in makePath() 526 SkScalar startAngle = makeAngle(); in makePath() local 529 path.arcTo(oval, startAngle, sweepAngle, forceMoveTo); in makePath()
|