Index: include/core/SkImageFilter.h |
diff --git a/include/core/SkImageFilter.h b/include/core/SkImageFilter.h |
index e0e97b0ad2b91ec1528a9e84fb209b38d6d55188..911b3f648d5d6ae2e4c8cfd51dae55efcdffa40e 100644 |
--- a/include/core/SkImageFilter.h |
+++ b/include/core/SkImageFilter.h |
@@ -192,6 +192,8 @@ public: |
*/ |
bool cropRectIsSet() const { return fCropRect.flags() != 0x0; } |
+ CropRect getCropRect() const { return fCropRect; } |
+ |
// Default impl returns union of all input bounds. |
virtual void computeFastBounds(const SkRect&, SkRect*) const; |