| Index: src/core/SkPathPriv.h
|
| diff --git a/src/core/SkPathPriv.h b/src/core/SkPathPriv.h
|
| index 8689dee197934473f34a346a164f936c1d547dee..60b0f2a1554a3d33ad8fc9397dd8afd7fff65fc9 100644
|
| --- a/src/core/SkPathPriv.h
|
| +++ b/src/core/SkPathPriv.h
|
| @@ -91,6 +91,13 @@ public:
|
| */
|
| static bool IsSimpleClosedRect(const SkPath& path, SkRect* rect, SkPath::Direction* direction,
|
| unsigned* start);
|
| +
|
| + /**
|
| + * Creates a path from arc params using the semantics of SkCanvas::drawArc. This function
|
| + * assumes empty ovals and zero sweeps have already been filtered out.
|
| + */
|
| + static void CreateDrawArcPath(SkPath* path, const SkRect& oval, SkScalar startAngle,
|
| + SkScalar sweepAngle, bool useCenter, bool isFillNoPathEffect);
|
| };
|
|
|
| #endif
|
|
|