diff options
author | Xianzhu Wang <wangxianzhu@chromium.org> | 2017-09-15 08:47:43 -0700 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-09-15 17:15:54 +0000 |
commit | cb4d58766668b003fea67798027fc25d84acd059 (patch) | |
tree | eec0c5a9e9505eb9db73721dfa74cfea59b0e4d9 /example | |
parent | ad70c41f678771f889449c296a8ab48640742050 (diff) |
Fix SkImageSource::filterBounds()
Previously SkImageSource::filterBounds() uses the default
SkImageFilter::onFilterNodeBounds() which returns the input rect.
Now override onFilterNodeBounds() in SkImageSource to return src
or dst rect (with transform applied).
Change-Id: I6681e1ba97affb09ef1ca5bc03b3d0f66c10f149
Reviewed-on: https://skia-review.googlesource.com/46741
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Mike Reed <reed@google.com>
Diffstat (limited to 'example')
0 files changed, 0 insertions, 0 deletions