Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkPath.cpp628 SkScalar sweepAngle, in build_arc_points() argument
633 stop.fY = SkScalarSinCos(SkDegreesToRadians(startAngle + sweepAngle), in build_arc_points()
645 SkScalar sw = SkScalarAbs(sweepAngle); in build_arc_points()
647 SkScalar stopRad = SkDegreesToRadians(startAngle + sweepAngle); in build_arc_points()
649 SkScalar deltaRad = SkScalarCopySign(SK_Scalar1/512, sweepAngle); in build_arc_points()
664 sweepAngle > 0 ? kCW_SkRotationDirection : kCCW_SkRotationDirection, in build_arc_points()
668 void SkPath::arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, in arcTo() argument
675 int count = build_arc_points(oval, startAngle, sweepAngle, pts); in arcTo()
689 SkScalar sweepAngle) { in addArc() argument
690 if (oval.isEmpty() || 0 == sweepAngle) { in addArc()
[all …]
DSkCanvas.cpp1591 SkScalar sweepAngle, bool useCenter, in drawArc() argument
1593 if (SkScalarAbs(sweepAngle) >= SkIntToScalar(360)) { in drawArc()
1600 path.arcTo(oval, startAngle, sweepAngle, !useCenter); in drawArc()
/external/skia/include/core/
DSkPath.h406 void arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle,
481 void addArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle);
DSkCanvas.h520 void drawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle,