commit | 5f1bb0a7c5186e797aa0f0d447a68fc3fbf3c2fe | [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 | 935c5f0922e389c84644d19fdb0fe6110cc334fc | |
parent | 966bb348a5bdeec44252ede4cb73ba907af2d92b [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>