Index: include/core/SkCanvas.h |
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h |
index a08e82800c953a344434c2167136e6b9e77a5ea8..b1a2751181a432027398265467a70765735d5c9c 100644 |
--- a/include/core/SkCanvas.h |
+++ b/include/core/SkCanvas.h |
@@ -1129,6 +1129,11 @@ public: |
return &fClipStack; |
} |
+ /** |
+ * Gets a current clip path from the clip stack. |
+ */ |
+ void getCurrentClipPath(SkPath*) const; |
+ |
typedef SkCanvasClipVisitor ClipVisitor; |
/** |
* Replays the clip operations, back to front, that have been applied to |