Index: include/core/SkCanvas.h |
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h |
index 8640d729b06965ce22ccac1a287554be767f226e..a08e82800c953a344434c2167136e6b9e77a5ea8 100644 |
--- a/include/core/SkCanvas.h |
+++ b/include/core/SkCanvas.h |
@@ -1109,6 +1109,15 @@ |
getting the clip and querying it directly. |
*/ |
virtual ClipType getClipType() const; |
+#endif |
+ |
+#ifdef SK_SUPPORT_LEGACY_GETTOTALCLIP |
+ /** DEPRECATED -- need to move this guy to private/friend |
+ * Return the current device clip (concatenation of all clip calls). |
+ * This does not account for the translate in any of the devices. |
+ * @return the current device clip (concatenation of all clip calls). |
+ */ |
+ const SkRegion& getTotalClip() const; |
#endif |
/** Return the clip stack. The clip stack stores all the individual |