diff options
author | 2015-06-23 08:29:20 -0700 | |
---|---|---|
committer | 2015-06-23 08:29:20 -0700 | |
commit | b3fe1b87e0ceefa27c183420c02d93d8fdf495dc (patch) | |
tree | 25f9d41feea20e8347130126729800b313564a63 /include/core/SkImageFilter.h | |
parent | e935f1a0e2351373c33600b8388492ce1218014a (diff) |
more tests for offsetimagefilter
BUG=skia:
Review URL: https://codereview.chromium.org/1199933011
Diffstat (limited to 'include/core/SkImageFilter.h')
-rw-r--r-- | include/core/SkImageFilter.h | 2 |
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; |