commit | 39bf1d83a1a6848ddb443884862eb78b47b99844 | [log] [tgz] |
---|---|---|
author | Stan Iliev <stani@google.com> | Mon Dec 12 17:39:55 2016 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon Dec 12 23:24:31 2016 +0000 |
tree | 03120085e3b2f1827dc09d682415287bc57f0466 | |
parent | bba2239d3d4a2db8e76b9e46c41bb5718c99bd5b [diff] |
Add a method in SkCanvas to set "hard" clip bounds. Add SkCanvas::setBoundRect, which sets the max clip rectangle, which can be replaced by clipRect, clipRRect and clipPath. BUG=skia: Change-Id: Ie39eb1715214971576e7a1dda760c6997a7e0208 Reviewed-on: https://skia-review.googlesource.com/5359 Commit-Queue: Stan Iliev <stani@google.com> Reviewed-by: Mike Reed <reed@google.com> Reviewed-by: Derek Sollenberger <djsollen@google.com>