/external/skia/docs/examples/ |
D | SkPath_arcto_conic_parametric.cpp | 26 float sweepAngle = 179; 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() 43 float weight = cos(SkDegreesToRadians(sweepAngle) / 2); in draw()
|
D | SkPath_arcto_conic_parametric2.cpp | 43 float sweepAngle = 75; 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() 61 float weight = cos(SkDegreesToRadians(sweepAngle) / 2); in draw()
|
D | SkPath_arcTo_example.cpp | 16 float sweepAngle = 60; in draw() local 19 arc.arcTo(oval, startAngle, sweepAngle, false); in draw()
|
/external/pdfium/xfa/fxgraphics/ |
D | cxfa_gepath.h | 34 float sweepAngle); 42 float sweepAngle);
|
/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() 399 float sweepAngle, 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() 447 public final float sweepAngle; field in ShadowCanvas.ArcPaintHistoryEvent 451 public ArcPaintHistoryEvent(RectF oval, float startAngle, float sweepAngle, boolean useCenter, in ArcPaintHistoryEvent() argument 455 this.sweepAngle = sweepAngle; in ArcPaintHistoryEvent()
|
/external/skia/gm/ |
D | addarc.cpp | 45 const SkScalar sweepAngle = 345; in onDraw() local 57 path.addArc(r, startAngle, sweepAngle); in onDraw() 286 SkScalar sweepAngle = 10.0f / outerRadius; variable 290 SkScalar endAngle = startAngles[i] + sweepAngle;
|
/external/skqp/gm/ |
D | addarc.cpp | 35 const SkScalar sweepAngle = 345; in onDraw() local 47 path.addArc(r, startAngle, sweepAngle); in onDraw() 276 SkScalar sweepAngle = 10.0f / outerRadius; variable 280 SkScalar endAngle = startAngles[i] + sweepAngle;
|
/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 851 stopRad = SkDegreesToRadians(startAngle + sweepAngle); in angles_to_unit_vectors() 867 SkScalar sw = SkScalarAbs(sweepAngle); in angles_to_unit_vectors() 870 SkScalar deltaRad = SkScalarCopySign(SK_Scalar1/512, sweepAngle); in angles_to_unit_vectors() 879 *dir = sweepAngle > 0 ? kCW_SkRotationDirection : kCCW_SkRotationDirection; 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() [all …]
|
D | SkPathPriv.h | 114 SkScalar sweepAngle, bool useCenter, bool isFillNoPathEffect); 120 static bool DrawArcIsConvex(SkScalar sweepAngle, bool useCenter, bool isFillNoPathEffect);
|
D | SkOverdrawCanvas.cpp | 115 void SkOverdrawCanvas::onDrawArc(const SkRect& arc, SkScalar startAngle, SkScalar sweepAngle, in onDrawArc() argument 117 fList[0]->onDrawArc(arc, startAngle, sweepAngle, useCenter, this->overdrawPaint(paint)); in onDrawArc()
|
/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 1117 stopV->fY = SkScalarSinCos(SkDegreesToRadians(startAngle + sweepAngle), &stopV->fX); in angles_to_unit_vectors() 1128 SkScalar sw = SkScalarAbs(sweepAngle); in angles_to_unit_vectors() 1130 SkScalar stopRad = SkDegreesToRadians(startAngle + sweepAngle); in angles_to_unit_vectors() 1132 SkScalar deltaRad = SkScalarCopySign(SK_Scalar1/512, sweepAngle); in angles_to_unit_vectors() 1140 *dir = sweepAngle > 0 ? kCW_SkRotationDirection : kCCW_SkRotationDirection; 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() [all …]
|
D | SkPathPriv.h | 115 SkScalar sweepAngle, bool useCenter, bool isFillNoPathEffect); 121 static bool DrawArcIsConvex(SkScalar sweepAngle, bool useCenter, bool isFillNoPathEffect);
|
D | SkLiteDL.cpp | 222 DrawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, in DrawArc() 224 : oval(oval), startAngle(startAngle), sweepAngle(sweepAngle), useCenter(useCenter) in DrawArc() 228 SkScalar sweepAngle; member 231 void draw(SkCanvas* c, const SkMatrix&) const { c->drawArc(oval, startAngle, sweepAngle, in draw() 546 void SkLiteDL::drawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, in drawArc() argument 548 this->push<DrawArc>(0, oval, startAngle, sweepAngle, useCenter, paint); in drawArc()
|
D | SkLiteRecorder.cpp | 79 void SkLiteRecorder::onDrawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, in onDrawArc() argument 81 fDL->drawArc(oval, startAngle, sweepAngle, useCenter, paint); in onDrawArc()
|
D | SkOverdrawCanvas.cpp | 133 void SkOverdrawCanvas::onDrawArc(const SkRect& arc, SkScalar startAngle, SkScalar sweepAngle, in onDrawArc() argument 135 fList[0]->onDrawArc(arc, startAngle, sweepAngle, useCenter, this->overdrawPaint(paint)); in onDrawArc()
|
/external/skqp/src/gpu/ops/ |
D | GrOvalOpFactory.h | 48 SkScalar sweepAngle,
|
/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_box.cpp | 258 Optional<int32_t> sweepAngle = GetSweepAngle(); in GetPathArcOrRounded() local 259 if (!startAngle && !sweepAngle) { in GetPathArcOrRounded() 266 -sweepAngle.value_or(360) * FX_PI / 180.0f); in GetPathArcOrRounded()
|
/external/oss-fuzz/projects/skia/ |
D | skia.diff | 121 SkScalar sweepAngle, bool useCenter, bool isFillNoPathEffect) { 123 SkASSERT(sweepAngle); 126 + if (sweepAngle > 3600.0f || sweepAngle < 3600.0f) {
|
/external/skia/src/gpu/ops/ |
D | GrOvalOpFactory.h | 62 SkScalar sweepAngle,
|
/external/skqp/samplecode/ |
D | SamplePathFuzz.cpp | 377 SkScalar sweepAngle = makeAngle(); in makePath() local 378 path.addArc(oval, startAngle, sweepAngle); in makePath() 527 SkScalar sweepAngle = makeAngle(); in makePath() local 529 path.arcTo(oval, startAngle, sweepAngle, forceMoveTo); in makePath()
|
/external/skqp/src/utils/ |
D | SkLuaCanvas.cpp | 187 void SkLuaCanvas::onDrawArc(const SkRect& rect, SkScalar startAngle, SkScalar sweepAngle, in onDrawArc() argument 192 lua.pushScalar(sweepAngle, "sweepAngle"); in onDrawArc()
|
D | SkPaintFilterCanvas.cpp | 107 void SkPaintFilterCanvas::onDrawArc(const SkRect& rect, SkScalar startAngle, SkScalar sweepAngle, in onDrawArc() argument 111 this->SkNWayCanvas::onDrawArc(rect, startAngle, sweepAngle, useCenter, *apf.paint()); in onDrawArc()
|
/external/skia/src/utils/ |
D | SkLuaCanvas.cpp | 196 void SkLuaCanvas::onDrawArc(const SkRect& rect, SkScalar startAngle, SkScalar sweepAngle, in onDrawArc() argument 201 lua.pushScalar(sweepAngle, "sweepAngle"); in onDrawArc()
|
D | SkPaintFilterCanvas.cpp | 103 void SkPaintFilterCanvas::onDrawArc(const SkRect& rect, SkScalar startAngle, SkScalar sweepAngle, in onDrawArc() argument 107 this->SkNWayCanvas::onDrawArc(rect, startAngle, sweepAngle, useCenter, apf.paint()); in onDrawArc()
|