| Index: src/core/SkPath.cpp
|
| diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp
|
| index 2d4976a82acef77e3b08823e359f087d3f21ddb2..351629d1252ca2bde200dae76ab48e58c8718033 100644
|
| --- a/src/core/SkPath.cpp
|
| +++ b/src/core/SkPath.cpp
|
| @@ -2837,3 +2837,9 @@ bool SkPath::contains(SkScalar x, SkScalar y) const {
|
| }
|
| return SkToBool(w);
|
| }
|
| +
|
| +int SkPath::ConvertConicToQuads(const SkPoint& p0, const SkPoint& p1, const SkPoint& p2,
|
| + SkScalar w, SkPoint pts[], int pow2) {
|
| + const SkConic conic(p0, p1, p2, w);
|
| + return conic.chopIntoQuadsPOW2(pts, pow2);
|
| +}
|
|
|