skia2/modules/svg/src
Florin Malita adc6889228 [svg] Refactor text rendering context plumbing
Instead of relying on RenderContext to pass text rendering options
downstack, introduce a dedicated virtual (onRenderText) and pass options
explicitly.

Root text nodes bridge from onRender() -> onRenderText().

This removes some complexity from RenderContext and incidentally fixes
xml:space = preserve (the value was being dropped during local ctx
copying).

Bug: skia:10840
Change-Id: Ic5fd9e0f9382f52f65108521574fcb2a422b97aa
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/344559
Reviewed-by: Tyler Denniston <tdenniston@google.com>
Commit-Queue: Florin Malita <fmalita@google.com>
2020-12-15 16:54:42 +00:00
..
SkSVGAttribute.cpp [svg] Add feFlood filter node 2020-12-11 15:02:20 +00:00
SkSVGAttributeParser.cpp [svg] Convert stop-color and stop-opacity to presentation attrs 2020-12-09 21:37:17 +00:00
SkSVGCircle.cpp Reland "[svg] Relocate out of experimental" 2020-10-16 02:32:41 +00:00
SkSVGClipPath.cpp Reland "[svg] Relocate out of experimental" 2020-10-16 02:32:41 +00:00
SkSVGContainer.cpp [svg] Implement gradientUnits="objectBoundingBox" 2020-10-27 19:56:28 +00:00
SkSVGDOM.cpp [svg] Refactor text rendering context plumbing 2020-12-15 16:54:42 +00:00
SkSVGEllipse.cpp Reland "[svg] Relocate out of experimental" 2020-10-16 02:32:41 +00:00
SkSVGFe.cpp [svg] Prep work for filter primitive subregion 2020-12-11 18:21:21 +00:00
SkSVGFeColorMatrix.cpp [svg] Prep work for filter primitive subregion 2020-12-11 18:21:21 +00:00
SkSVGFeComposite.cpp [svg] Prep work for filter primitive subregion 2020-12-11 18:21:21 +00:00
SkSVGFeFlood.cpp [svg] Prep work for filter primitive subregion 2020-12-11 18:21:21 +00:00
SkSVGFeTurbulence.cpp [svg] Prep work for filter primitive subregion 2020-12-11 18:21:21 +00:00
SkSVGFilter.cpp [svg] Fix filter region bounds 2020-12-15 16:15:19 +00:00
SkSVGFilterContext.cpp [svg] Implement feComposite, basic filter result storage 2020-11-10 14:00:56 +00:00
SkSVGGradient.cpp [svg] Minor cleanups 2020-12-11 16:25:20 +00:00
SkSVGLine.cpp Reland "[svg] Relocate out of experimental" 2020-10-16 02:32:41 +00:00
SkSVGLinearGradient.cpp [svg] Use new parsing for gradient classes 2020-11-10 19:04:49 +00:00
SkSVGNode.cpp [svg] Add feFlood filter node 2020-12-11 15:02:20 +00:00
SkSVGPath.cpp Reland "[svg] Relocate out of experimental" 2020-10-16 02:32:41 +00:00
SkSVGPattern.cpp Reland "[svg] Relocate out of experimental" 2020-10-16 02:32:41 +00:00
SkSVGPoly.cpp [svg] Fix filter region bounds 2020-12-15 16:15:19 +00:00
SkSVGRadialGradient.cpp [svg] Handle zero-radius radial gradients 2020-11-22 19:12:10 +00:00
SkSVGRect.cpp [svg] Implement gradientUnits="objectBoundingBox" 2020-10-27 19:56:28 +00:00
SkSVGRenderContext.cpp [svg] Refactor text rendering context plumbing 2020-12-15 16:54:42 +00:00
SkSVGShape.cpp Reland "[svg] Relocate out of experimental" 2020-10-16 02:32:41 +00:00
SkSVGStop.cpp [svg] Convert stop-color and stop-opacity to presentation attrs 2020-12-09 21:37:17 +00:00
SkSVGSVG.cpp [svg] Add support for preserveAspectRatio 2020-10-21 22:10:33 +00:00
SkSVGText.cpp [svg] Refactor text rendering context plumbing 2020-12-15 16:54:42 +00:00
SkSVGTransformableNode.cpp [svg] Implement gradientUnits="objectBoundingBox" 2020-10-27 19:56:28 +00:00
SkSVGUse.cpp [svg] Implement gradientUnits="objectBoundingBox" 2020-10-27 19:56:28 +00:00
SkSVGValue.cpp Reland "[svg] Relocate out of experimental" 2020-10-16 02:32:41 +00:00