| Index: src/core/SkPath.cpp
|
| diff --git a/src/core/SkPath.cpp b/src/core/SkPath.cpp
|
| index 5288b85db37e3ed4e6d5e68532975032ef7374d5..a0abe166f56fc66190d518c5108592650f23ad82 100644
|
| --- a/src/core/SkPath.cpp
|
| +++ b/src/core/SkPath.cpp
|
| @@ -644,6 +644,17 @@ void SkPath::setLastPt(SkScalar x, SkScalar y) {
|
| }
|
| }
|
|
|
| +int SkPath::countConicWeights() const {
|
| + return fPathRef->countWeights();
|
| +}
|
| +
|
| +SkScalar SkPath::getConicWeight(int index) const {
|
| + if ((unsigned)index < (unsigned)fPathRef->countWeights()) {
|
| + return fPathRef->atConicWeight(index);
|
| + }
|
| + return SkIntToScalar(0);
|
| +}
|
| +
|
| void SkPath::setConvexity(Convexity c) {
|
| if (fConvexity != c) {
|
| fConvexity = c;
|
|
|