skia2/modules/svg
Tyler Denniston 3df6c20a05 [svg] Fix <use> bounds calculation
Previously we were using fX and fY as the top left of the returned
bounds. We need instead to offset the referenced node's bounds by fX,
fY.

While I was here I updated the attribute parsing to the new form and
changed the type of fHref from SkSVGString to SkSVGIRI.

Change-Id: I4bfb91bca62e47f5dabfbb4aad48cbb301a7ea36
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/354118
Reviewed-by: Florin Malita <fmalita@chromium.org>
Commit-Queue: Tyler Denniston <tdenniston@google.com>
2021-01-14 21:35:58 +00:00
..
include [svg] Fix <use> bounds calculation 2021-01-14 21:35:58 +00:00
src [svg] Fix <use> bounds calculation 2021-01-14 21:35:58 +00:00
tests [svg] TextPath support 2021-01-13 14:37:39 +00:00
utils [svg] Allow clients to pass a custom SkFontMgr 2020-11-11 01:51:44 +00:00
BUILD.gn Reland "[svg] Absolute positioning support for text" 2020-12-18 02:09:18 +00:00
svg.gni [svg] Initial mask plumbing 2021-01-13 17:23:24 +00:00