commit | ea4aa397df43c1e41efe3606821e74580aea71ff | [log] [tgz] |
---|---|---|
author | Jim Van Verth <jvanverth@google.com> | Mon Jan 11 11:01:09 2021 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon Jan 11 17:53:47 2021 +0000 |
tree | fb633af1769987400210505fccb0228ffc33dcaa | |
parent | 0a145b77f70865cc01b36de44e39c2d801351692 [diff] |
Add SkShadowUtils::GetLocalBounds. Generates a bounding rect that encompasses both shadows for a given path, relative to the path local space. Bug: skia:11146 Change-Id: Ib8edb1072ed9cbfe36285523330be95fdf661d6b Reviewed-on: https://skia-review.googlesource.com/c/skia/+/351922 Commit-Queue: Jim Van Verth <jvanverth@google.com> Reviewed-by: Yegor Jbanov <yjbanov@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>