Home
last modified time | relevance | path

Searched refs:sweepAngle (Results 1 – 25 of 85) sorted by relevance

1234

/external/pdfium/xfa/fxfa/parser/
Dcxfa_box.cpp260 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/
DShadowPath.java383 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()
DShadowCanvas.java196 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/pdfium/xfa/fxgraphics/
Dcxfa_gepath.h34 float sweepAngle);
42 float sweepAngle);
/external/skia/gm/
Daddarc.cpp35 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/skqp/gm/
Daddarc.cpp35 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/
DSkPath.cpp1091 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 …]
DSkPathPriv.h115 SkScalar sweepAngle, bool useCenter, bool isFillNoPathEffect);
121 static bool DrawArcIsConvex(SkScalar sweepAngle, bool useCenter, bool isFillNoPathEffect);
DSkLiteDL.cpp228 DrawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, in DrawArc()
230 : oval(oval), startAngle(startAngle), sweepAngle(sweepAngle), useCenter(useCenter) in DrawArc()
234 SkScalar sweepAngle; member
237 void draw(SkCanvas* c, const SkMatrix&) const { c->drawArc(oval, startAngle, sweepAngle, in draw()
555 void SkLiteDL::drawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, in drawArc() argument
557 this->push<DrawArc>(0, oval, startAngle, sweepAngle, useCenter, paint); in drawArc()
DSkLiteRecorder.cpp82 void SkLiteRecorder::onDrawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, in onDrawArc() argument
84 fDL->drawArc(oval, startAngle, sweepAngle, useCenter, paint); in onDrawArc()
DSkOverdrawCanvas.cpp137 void SkOverdrawCanvas::onDrawArc(const SkRect& arc, SkScalar startAngle, SkScalar sweepAngle, in onDrawArc() argument
139 fList[0]->onDrawArc(arc, startAngle, sweepAngle, useCenter, this->overdrawPaint(paint)); in onDrawArc()
/external/skqp/src/core/
DSkPath.cpp1091 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 …]
DSkPathPriv.h115 SkScalar sweepAngle, bool useCenter, bool isFillNoPathEffect);
121 static bool DrawArcIsConvex(SkScalar sweepAngle, bool useCenter, bool isFillNoPathEffect);
DSkLiteDL.cpp222 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()
DSkLiteRecorder.cpp79 void SkLiteRecorder::onDrawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, in onDrawArc() argument
81 fDL->drawArc(oval, startAngle, sweepAngle, useCenter, paint); in onDrawArc()
DSkOverdrawCanvas.cpp133 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/pdfium/fxjs/xfa/
Dcjx_arc.h22 JS_PROP(sweepAngle);
Dcjx_arc.cpp33 void CJX_Arc::sweepAngle(CFXJSE_Value* pValue, in sweepAngle() function in CJX_Arc
/external/skqp/samplecode/
DSamplePathFuzz.cpp377 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/skia/src/gpu/ops/
DGrOvalOpFactory.h48 SkScalar sweepAngle,
/external/skqp/src/gpu/ops/
DGrOvalOpFactory.h48 SkScalar sweepAngle,
/external/skia/src/utils/
DSkLuaCanvas.cpp187 void SkLuaCanvas::onDrawArc(const SkRect& rect, SkScalar startAngle, SkScalar sweepAngle, in onDrawArc() argument
192 lua.pushScalar(sweepAngle, "sweepAngle"); in onDrawArc()
DSkPaintFilterCanvas.cpp114 void SkPaintFilterCanvas::onDrawArc(const SkRect& rect, SkScalar startAngle, SkScalar sweepAngle, in onDrawArc() argument
118 this->SkNWayCanvas::onDrawArc(rect, startAngle, sweepAngle, useCenter, *apf.paint()); in onDrawArc()
/external/skqp/src/utils/
DSkLuaCanvas.cpp187 void SkLuaCanvas::onDrawArc(const SkRect& rect, SkScalar startAngle, SkScalar sweepAngle, in onDrawArc() argument
192 lua.pushScalar(sweepAngle, "sweepAngle"); in onDrawArc()
DSkPaintFilterCanvas.cpp107 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()

1234