commit | 8ca4626a4bb3fce4f5696b2524b9856b160df9b0 | [log] [tgz] |
---|---|---|
author | Tyler Denniston <tdenniston@google.com> | Tue Feb 02 16:16:21 2021 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Feb 02 22:36:05 2021 +0000 |
tree | 94f817606f17bd663e2f82bcb78ece0acf1f2174 | |
parent | 027f7b35e79900db1ac46b61346561ea0727ac27 [diff] |
[svg] Implement <image> element https://www.w3.org/TR/SVG11/struct.html#ImageElement Supported reference types are data and non-local URIs. Resource loading requires a ResourceProvider to have been set on the render context. Not handled in this CL: - preserveAspectRatio support - SVG reference types (i.e. '<image xlink:href="file.svg" ...') Bug: skia:10842 Change-Id: Ieec7569f60516b01fc847f4160d0733b1e3a1cf5 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/364576 Commit-Queue: Tyler Denniston <tdenniston@google.com> Reviewed-by: Florin Malita <fmalita@chromium.org>