aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core/SkImageFilter.h
diff options
context:
space:
mode:
authorGravatar reed <reed@google.com>2015-06-23 08:29:20 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-06-23 08:29:20 -0700
commitb3fe1b87e0ceefa27c183420c02d93d8fdf495dc (patch)
tree25f9d41feea20e8347130126729800b313564a63 /include/core/SkImageFilter.h
parente935f1a0e2351373c33600b8388492ce1218014a (diff)
more tests for offsetimagefilter
Diffstat (limited to 'include/core/SkImageFilter.h')
-rw-r--r--include/core/SkImageFilter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/core/SkImageFilter.h b/include/core/SkImageFilter.h
index e0e97b0ad2..911b3f648d 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;