/external/pdfium/xfa/fxfa/parser/ |
D | cxfa_box.cpp | 260 Optional<int32_t> sweepAngle = GetSweepAngle(); in GetPathArcOrRounded() local 261 if (!startAngle && !sweepAngle) { in GetPathArcOrRounded() 268 -sweepAngle.value_or(360) * FX_PI / 180.0f); in GetPathArcOrRounded() 327 float startAngle = 0, sweepAngle = 360; in StrokeArcOrRounded() local 329 sweepAngle = -sweepAngle * FX_PI / 180.0f; in StrokeArcOrRounded()
|
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
D | ShadowCanvas.java | 172 …public void drawArc(RectF oval, float startAngle, float sweepAngle, boolean useCenter, Paint paint… in drawArc() argument 173 arcPaintEvents.add(new ArcPaintHistoryEvent(oval, startAngle, sweepAngle, useCenter, paint)); in drawArc() 395 public final float sweepAngle; field in ShadowCanvas.ArcPaintHistoryEvent 399 public ArcPaintHistoryEvent(RectF oval, float startAngle, float sweepAngle, boolean useCenter, in ArcPaintHistoryEvent() argument 403 this.sweepAngle = sweepAngle; in ArcPaintHistoryEvent()
|
/external/pdfium/xfa/fxgraphics/ |
D | cxfa_gepath.h | 34 float sweepAngle); 42 float sweepAngle);
|
/external/skia/src/core/ |
D | SkPath.cpp | 1053 static bool arc_is_lone_point(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, in arc_is_lone_point() argument 1055 if (0 == sweepAngle && (0 == startAngle || SkIntToScalar(360) == startAngle)) { in arc_is_lone_point() 1076 static void angles_to_unit_vectors(SkScalar startAngle, SkScalar sweepAngle, in angles_to_unit_vectors() argument 1079 stopV->fY = SkScalarSinCos(SkDegreesToRadians(startAngle + sweepAngle), &stopV->fX); in angles_to_unit_vectors() 1090 SkScalar sw = SkScalarAbs(sweepAngle); in angles_to_unit_vectors() 1092 SkScalar stopRad = SkDegreesToRadians(startAngle + sweepAngle); in angles_to_unit_vectors() 1094 SkScalar deltaRad = SkScalarCopySign(SK_Scalar1/512, sweepAngle); in angles_to_unit_vectors() 1102 *dir = sweepAngle > 0 ? kCW_SkRotationDirection : kCCW_SkRotationDirection; in angles_to_unit_vectors() 1291 void SkPath::arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, in arcTo() argument 1302 if (arc_is_lone_point(oval, startAngle, sweepAngle, &lonePt)) { in arcTo() [all …]
|
D | SkPathPriv.h | 106 SkScalar sweepAngle, bool useCenter, bool isFillNoPathEffect); 112 static bool DrawArcIsConvex(SkScalar sweepAngle, bool useCenter, bool isFillNoPathEffect);
|
D | SkLiteDL.cpp | 212 DrawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, in DrawArc() 214 : oval(oval), startAngle(startAngle), sweepAngle(sweepAngle), useCenter(useCenter) in DrawArc() 218 SkScalar sweepAngle; member 221 void draw(SkCanvas* c, const SkMatrix&) const { c->drawArc(oval, startAngle, sweepAngle, in draw() 589 void SkLiteDL::drawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, in drawArc() argument 591 this->push<DrawArc>(0, oval, startAngle, sweepAngle, useCenter, paint); in drawArc()
|
D | SkLiteRecorder.cpp | 78 void SkLiteRecorder::onDrawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, in onDrawArc() argument 80 fDL->drawArc(oval, startAngle, sweepAngle, useCenter, paint); in onDrawArc()
|
/external/skia/gm/ |
D | addarc.cpp | 35 const SkScalar sweepAngle = 345; in onDraw() local 47 path.addArc(r, startAngle, sweepAngle); in onDraw() 313 SkScalar sweepAngle = 10.0f / outerRadius; in onDraw() local 317 SkScalar endAngle = startAngles[i] + sweepAngle; in onDraw()
|
/external/skqp/gm/ |
D | addarc.cpp | 35 const SkScalar sweepAngle = 345; in onDraw() local 47 path.addArc(r, startAngle, sweepAngle); in onDraw() 313 SkScalar sweepAngle = 10.0f / outerRadius; in onDraw() local 317 SkScalar endAngle = startAngles[i] + sweepAngle; in onDraw()
|
/external/skqp/src/core/ |
D | SkPath.cpp | 1044 static bool arc_is_lone_point(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, in arc_is_lone_point() argument 1046 if (0 == sweepAngle && (0 == startAngle || SkIntToScalar(360) == startAngle)) { in arc_is_lone_point() 1067 static void angles_to_unit_vectors(SkScalar startAngle, SkScalar sweepAngle, in angles_to_unit_vectors() argument 1070 stopV->fY = SkScalarSinCos(SkDegreesToRadians(startAngle + sweepAngle), &stopV->fX); in angles_to_unit_vectors() 1081 SkScalar sw = SkScalarAbs(sweepAngle); in angles_to_unit_vectors() 1083 SkScalar stopRad = SkDegreesToRadians(startAngle + sweepAngle); in angles_to_unit_vectors() 1085 SkScalar deltaRad = SkScalarCopySign(SK_Scalar1/512, sweepAngle); in angles_to_unit_vectors() 1093 *dir = sweepAngle > 0 ? kCW_SkRotationDirection : kCCW_SkRotationDirection; in angles_to_unit_vectors() 1282 void SkPath::arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, in arcTo() argument 1293 if (arc_is_lone_point(oval, startAngle, sweepAngle, &lonePt)) { in arcTo() [all …]
|
D | SkLiteDL.cpp | 212 DrawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, in DrawArc() 214 : oval(oval), startAngle(startAngle), sweepAngle(sweepAngle), useCenter(useCenter) in DrawArc() 218 SkScalar sweepAngle; member 221 void draw(SkCanvas* c, const SkMatrix&) const { c->drawArc(oval, startAngle, sweepAngle, in draw() 589 void SkLiteDL::drawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, in drawArc() argument 591 this->push<DrawArc>(0, oval, startAngle, sweepAngle, useCenter, paint); in drawArc()
|
D | SkLiteRecorder.cpp | 78 void SkLiteRecorder::onDrawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, in onDrawArc() argument 80 fDL->drawArc(oval, startAngle, sweepAngle, useCenter, paint); in onDrawArc()
|
D | SkPathPriv.h | 106 SkScalar sweepAngle, bool useCenter, bool isFillNoPathEffect);
|
D | SkOverdrawCanvas.cpp | 197 void SkOverdrawCanvas::onDrawArc(const SkRect& arc, SkScalar startAngle, SkScalar sweepAngle, in onDrawArc() argument 199 fList[0]->onDrawArc(arc, startAngle, sweepAngle, useCenter, this->overdrawPaint(paint)); in onDrawArc()
|
/external/pdfium/fxjs/xfa/ |
D | cjx_arc.h | 22 JS_PROP(sweepAngle);
|
D | cjx_arc.cpp | 33 void CJX_Arc::sweepAngle(CFXJSE_Value* pValue, in sweepAngle() function in CJX_Arc
|
/external/skqp/samplecode/ |
D | SamplePathFuzz.cpp | 378 SkScalar sweepAngle = makeAngle(); in makePath() local 379 path.addArc(oval, startAngle, sweepAngle); in makePath() 528 SkScalar sweepAngle = makeAngle(); in makePath() local 530 path.arcTo(oval, startAngle, sweepAngle, forceMoveTo); in makePath()
|
/external/skia/samplecode/ |
D | SamplePathFuzz.cpp | 378 SkScalar sweepAngle = makeAngle(); in makePath() local 379 path.addArc(oval, startAngle, sweepAngle); in makePath() 528 SkScalar sweepAngle = makeAngle(); in makePath() local 530 path.arcTo(oval, startAngle, sweepAngle, forceMoveTo); in makePath()
|
/external/skqp/src/gpu/ops/ |
D | GrOvalOpFactory.h | 44 SkScalar sweepAngle,
|
/external/skia/src/gpu/ops/ |
D | GrOvalOpFactory.h | 44 SkScalar sweepAngle,
|
/external/skia/src/utils/ |
D | SkPaintFilterCanvas.cpp | 88 void SkPaintFilterCanvas::onDrawArc(const SkRect& rect, SkScalar startAngle, SkScalar sweepAngle, in onDrawArc() argument 92 this->INHERITED::onDrawArc(rect, startAngle, sweepAngle, useCenter, *apf.paint()); in onDrawArc()
|
D | SkLuaCanvas.cpp | 182 void SkLuaCanvas::onDrawArc(const SkRect& rect, SkScalar startAngle, SkScalar sweepAngle, in onDrawArc() argument 187 lua.pushScalar(sweepAngle, "sweepAngle"); in onDrawArc()
|
/external/skqp/src/utils/ |
D | SkPaintFilterCanvas.cpp | 88 void SkPaintFilterCanvas::onDrawArc(const SkRect& rect, SkScalar startAngle, SkScalar sweepAngle, in onDrawArc() argument 92 this->INHERITED::onDrawArc(rect, startAngle, sweepAngle, useCenter, *apf.paint()); in onDrawArc()
|
D | SkLuaCanvas.cpp | 182 void SkLuaCanvas::onDrawArc(const SkRect& rect, SkScalar startAngle, SkScalar sweepAngle, in onDrawArc() argument 187 lua.pushScalar(sweepAngle, "sweepAngle"); in onDrawArc()
|
D | SkNWayCanvas.cpp | 160 void SkNWayCanvas::onDrawArc(const SkRect& rect, SkScalar startAngle, SkScalar sweepAngle, in onDrawArc() argument 164 iter->drawArc(rect, startAngle, sweepAngle, useCenter, paint); in onDrawArc()
|