commit | 5f12b28cfdaee6c279b3ba4c430d44f292a8332c | [log] [tgz] |
---|---|---|
author | Fredrik Söderquist <fs@opera.com> | Fri Feb 01 09:16:06 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Feb 01 09:16:06 2019 |
tree | 6c7207125b5bcb57f062edd6c351021148d3fc4e | |
parent | b64f49c4db7c28f243633f958cb1c12448df8546 [diff] |
Hoist/fold GraphicsContext::DrawTiledImage (border-image version) Folds the "border-image version" of GraphicsContext::DrawTiledImage into NinePieceImagePainter. This should hopefully allow for better control of tiling computations, and also seems like a better place from a layering perspective. The computation of <scale, phase, spacing> is refactored into a new function ComputeTileParameters. Switch from using Image::TileRule to using ENinePieceImageRule (the style type), and remove the former since it is no longer used. Bug: 614125 Change-Id: Ia7433f871bb0bc6f7f963a14ae49b898559860d2 Reviewed-on: https://chromium-review.googlesource.com/c/1448612 Commit-Queue: Fredrik Söderquist <fs@opera.com> Reviewed-by: Florin Malita <fmalita@chromium.org> Reviewed-by: Stephen Chenney <schenney@chromium.org> Cr-Commit-Position: refs/heads/master@{#628278}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .