skia2/modules/svg/include
Florin Malita dec78021f5 Reland "[svg] Absolute positioning support for text"
This reverts commit e2f6245352.

Reason for revert: relanding with fixes

Original change's description:
> Revert "[svg] Absolute positioning support for text"
>
> This reverts commit febb1b87a5.
>
> Reason for revert: breaking the android roll
>
> Original change's description:
> > [svg] Absolute positioning support for text
> >
> > Implement per-character position attribute lookup based on [1]:
> >
> >   - convert "x" and "y" attributes to arrays
> >   - introduce ScopedPosResolver to handle positioning attribute lookup
> >     and fallback
> >   - push a new resolver every time we enter a text positioning element
> >     scope (<text>, <tspan>, etc).
> >   - flush/reposition a new text chunk every time we encounter explicit
> >     absolute positions
> >
> > The position attribute fallback logic is complex enough to warrant a
> > unit test.
> >
> > [1] https://www.w3.org/TR/SVG11/text.html#TSpanElementXAttribute
> >
> > Bug: skia:10840
> > Change-Id: I66c478fea4a179fdb8b1a6a9ff00c4dd9509f8d2
> > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/345161
> > Commit-Queue: Florin Malita <fmalita@chromium.org>
> > Commit-Queue: Florin Malita <fmalita@google.com>
> > Reviewed-by: Tyler Denniston <tdenniston@google.com>
>
> TBR=fmalita@chromium.org,fmalita@google.com,tdenniston@google.com
>
> Change-Id: I80e3396d555369fe835ee73102135061f63e8bf0
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: skia:10840
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/345417
> Reviewed-by: Derek Sollenberger <djsollen@google.com>
> Commit-Queue: Derek Sollenberger <djsollen@google.com>

TBR=djsollen@google.com,fmalita@chromium.org,fmalita@google.com,tdenniston@google.com

# Not skipping CQ checks because this is a reland.

Bug: skia:10840
Change-Id: I4c6f6a9f19c0f7598bdcf34e915f43c139b995a9
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/345420
Reviewed-by: Florin Malita <fmalita@google.com>
Commit-Queue: Florin Malita <fmalita@google.com>
2020-12-18 02:09:18 +00:00
..
SkSVGAttribute.h [svg] Add feFlood filter node 2020-12-11 15:02:20 +00:00
SkSVGAttributeParser.h [svg] Convert stop-color and stop-opacity to presentation attrs 2020-12-09 21:37:17 +00:00
SkSVGCircle.h [svg] Minor cleanups 2020-12-11 16:25:20 +00:00
SkSVGClipPath.h Reland "[svg] Relocate out of experimental" 2020-10-16 02:32:41 +00:00
SkSVGContainer.h [svg] Minor cleanups 2020-12-11 16:25:20 +00:00
SkSVGDefs.h Reland "[svg] Relocate out of experimental" 2020-10-16 02:32:41 +00:00
SkSVGDOM.h [svg] Allow clients to pass a custom SkFontMgr 2020-11-11 01:51:44 +00:00
SkSVGEllipse.h [svg] Minor cleanups 2020-12-11 16:25:20 +00:00
SkSVGFe.h [svg] Prep work for filter primitive subregion 2020-12-11 18:21:21 +00:00
SkSVGFeColorMatrix.h [svg] Prep work for filter primitive subregion 2020-12-11 18:21:21 +00:00
SkSVGFeComposite.h [svg] Prep work for filter primitive subregion 2020-12-11 18:21:21 +00:00
SkSVGFeFlood.h [svg] Prep work for filter primitive subregion 2020-12-11 18:21:21 +00:00
SkSVGFeTurbulence.h [svg] Prep work for filter primitive subregion 2020-12-11 18:21:21 +00:00
SkSVGFilter.h [svg] Prep work for filter primitive subregion 2020-12-11 18:21:21 +00:00
SkSVGFilterContext.h [svg] Implement feComposite, basic filter result storage 2020-11-10 14:00:56 +00:00
SkSVGG.h Reland "[svg] Relocate out of experimental" 2020-10-16 02:32:41 +00:00
SkSVGGradient.h [svg] Minor cleanups 2020-12-11 16:25:20 +00:00
SkSVGHiddenContainer.h Reland "[svg] Relocate out of experimental" 2020-10-16 02:32:41 +00:00
SkSVGIDMapper.h Reland "[svg] Relocate out of experimental" 2020-10-16 02:32:41 +00:00
SkSVGLine.h [svg] Minor cleanups 2020-12-11 16:25:20 +00:00
SkSVGLinearGradient.h [svg] Minor cleanups 2020-12-11 16:25:20 +00:00
SkSVGNode.h [svg] Add feFlood filter node 2020-12-11 15:02:20 +00:00
SkSVGPath.h [svg] Minor cleanups 2020-12-11 16:25:20 +00:00
SkSVGPattern.h [svg] Minor cleanups 2020-12-11 16:25:20 +00:00
SkSVGPoly.h [svg] Fix filter region bounds 2020-12-15 16:15:19 +00:00
SkSVGRadialGradient.h [svg] Minor cleanups 2020-12-11 16:25:20 +00:00
SkSVGRect.h [svg] Minor cleanups 2020-12-11 16:25:20 +00:00
SkSVGRenderContext.h [svg] Refactor text rendering context plumbing 2020-12-15 16:54:42 +00:00
SkSVGShape.h [svg] Minor cleanups 2020-12-11 16:25:20 +00:00
SkSVGStop.h [svg] Minor cleanups 2020-12-11 16:25:20 +00:00
SkSVGSVG.h [svg] Minor cleanups 2020-12-11 16:25:20 +00:00
SkSVGText.h Reland "[svg] Absolute positioning support for text" 2020-12-18 02:09:18 +00:00
SkSVGTransformableNode.h [svg] Minor cleanups 2020-12-11 16:25:20 +00:00
SkSVGTypes.h [svg] Split out SkSVGColor from paint 2020-12-09 21:28:07 +00:00
SkSVGUse.h [svg] Minor cleanups 2020-12-11 16:25:20 +00:00
SkSVGValue.h [svg] Use new parsing for gradient classes 2020-11-10 19:04:49 +00:00