Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkPath.cpp583 SkScalar sweepAngle, in build_arc_points() argument
588 stop.fY = SkScalarSinCos(SkDegreesToRadians(startAngle + sweepAngle), in build_arc_points()
600 SkScalar sw = SkScalarAbs(sweepAngle); in build_arc_points()
602 SkScalar stopRad = SkDegreesToRadians(startAngle + sweepAngle); in build_arc_points()
604 SkScalar deltaRad = SkScalarCopySign(SK_Scalar1/512, sweepAngle); in build_arc_points()
619 sweepAngle > 0 ? kCW_SkRotationDirection : kCCW_SkRotationDirection, in build_arc_points()
623 void SkPath::arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle, in arcTo() argument
630 int count = build_arc_points(oval, startAngle, sweepAngle, pts); in arcTo()
644 SkScalar sweepAngle) { in addArc() argument
645 if (oval.isEmpty() || 0 == sweepAngle) { in addArc()
[all …]
DSkCanvas.cpp1390 SkScalar sweepAngle, bool useCenter, in drawArc() argument
1392 if (SkScalarAbs(sweepAngle) >= SkIntToScalar(360)) { in drawArc()
1399 path.arcTo(oval, startAngle, sweepAngle, !useCenter); in drawArc()
/external/skia/include/core/
DSkPath.h332 void arcTo(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle,
407 void addArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle);
DSkCanvas.h454 void drawArc(const SkRect& oval, SkScalar startAngle, SkScalar sweepAngle,