Index: include/core/SkPaint.h |
diff --git a/include/core/SkPaint.h b/include/core/SkPaint.h |
index fef4319477ed183dc4c8772cf6bebd45e39b4610..50fe1f4c1df20399760fa26c2aedfd665a9b8ce4 100644 |
--- a/include/core/SkPaint.h |
+++ b/include/core/SkPaint.h |
@@ -512,11 +512,17 @@ public: |
* @param src input path |
* @param dst output path (may be the same as src) |
* @param cullRect If not null, the dst path may be culled to this rect. |
+ * @param resScale If > 1, increase precision, else if (0 < res < 1) reduce precision |
+ * in favor of speed/size. |
* @return true if the path should be filled, or false if it should be |
* drawn with a hairline (width == 0) |
*/ |
- bool getFillPath(const SkPath& src, SkPath* dst, |
- const SkRect* cullRect = NULL) const; |
+ bool getFillPath(const SkPath& src, SkPath* dst, const SkRect* cullRect, |
+ SkScalar resScale = 1) const; |
+ |
+ bool getFillPath(const SkPath& src, SkPath* dst) const { |
+ return this->getFillPath(src, dst, NULL, 1); |
+ } |
/** Get the paint's shader object. |
<p /> |