commit | 7b4d4c7a4668f771641aaed88b83d22d5efe6873 | [log] [tgz] |
---|---|---|
author | fmalita <fmalita@chromium.org> | Thu Feb 12 13:56:50 2015 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Thu Feb 12 13:56:51 2015 -0800 |
tree | 4ce2139409f84b4a3f62e70dea0a0786907aad73 | |
parent | 201c98d08da4cee9997c339b3824310ddc6f7d12 [diff] |
[PDF] Fix shader fallback mapping when clipped The bounding box used for our pattern sizing is in device coordinates, but SkPDFImageShader::Create() runs it through the inverse CTM to map into shader space (with a notable effect of vertical flipping). In order not to implode, the fallback shader path needs to compute its adjustments in a consistent space. BUG=skia:3398, chromium:454591, chromium:455052 R=halcanary@google.com Review URL: https://codereview.chromium.org/901303003