Index: include/core/SkPathRef.h |
diff --git a/include/core/SkPathRef.h b/include/core/SkPathRef.h |
index 4b57fc80e4c39fe595e9a7275ce282584818b02e..f988b57710df8cfc30eb055a9428fbcfa296185b 100644 |
--- a/include/core/SkPathRef.h |
+++ b/include/core/SkPathRef.h |
@@ -235,6 +235,11 @@ public: |
return this->points()[index]; |
} |
+ const SkScalar& atConicWeight(int index) const { |
+ SkASSERT((unsigned) index < (unsigned) fConicWeights.count()); |
+ return this->conicWeights()[index]; |
+ } |
+ |
bool operator== (const SkPathRef& ref) const; |
/** |