commit | cb3bd18a4b787f6281930dbe49e1c430f28a367c | [log] [tgz] |
---|---|---|
author | tomhudson <tomhudson@google.com> | Wed May 18 07:24:16 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed May 18 07:24:16 2016 -0700 |
tree | 1c32f57742e253980f7480196c9d529ebd074c9b | |
parent | 3ab53d0c778704111a72b7107154ade4aa536232 [diff] |
SkCanvas::adjustToTopLayer() Given a matrix and a clip bounds, offsets them to reflect the difference between device coordinates and global coordinates. Useful when a client wants an OS-specific backing for a canvas. R=reed@google.com BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1986383002 Review-Url: https://codereview.chromium.org/1986383002