skia2/experimental/svg/model
Tyler Denniston 6c8314efa1 [SVG] Implement currentColor for fill and stroke
The 'color' presentation attribute when set determines the value of the
special color value 'currentColor'. See the color-prop-01-b test for an
example.

Not handled in this CL:
- The color type needs to be changed to be inheritable.
- currentColor should also be usable for stop-color for gradients. See
  <https://www.w3.org/TR/SVG11/color.html#ColorProperty> for a full list
  of attributes that can use currentColor.

Change-Id: Icf81b5313cda688d1b6e20809b9b339f517b9ada
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/282638
Commit-Queue: Tyler Denniston <tdenniston@google.com>
Reviewed-by: Florin Malita <fmalita@chromium.org>
2020-04-09 18:48:16 +00:00
..
SkPEG.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSVGAttribute.cpp [SVG] Implement currentColor for fill and stroke 2020-04-09 18:48:16 +00:00
SkSVGAttribute.h [SVG] Implement currentColor for fill and stroke 2020-04-09 18:48:16 +00:00
SkSVGAttributeParser.cpp [SVG] Fix polyline/polygon point parsing 2020-04-09 12:20:29 +00:00
SkSVGAttributeParser.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSVGCircle.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
SkSVGCircle.h Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
SkSVGClipPath.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSVGClipPath.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSVGContainer.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSVGContainer.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSVGDefs.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSVGDOM.cpp [SVG] Implement currentColor for fill and stroke 2020-04-09 18:48:16 +00:00
SkSVGDOM.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSVGEllipse.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
SkSVGEllipse.h Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
SkSVGG.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSVGGradient.cpp [svg] Reference cycle avoidance 2020-04-08 20:04:17 +00:00
SkSVGGradient.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSVGHiddenContainer.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSVGIDMapper.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSVGLine.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
SkSVGLine.h Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
SkSVGLinearGradient.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSVGLinearGradient.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSVGNode.cpp [SVG] Implement currentColor for fill and stroke 2020-04-09 18:48:16 +00:00
SkSVGNode.h [SVG] Implement currentColor for fill and stroke 2020-04-09 18:48:16 +00:00
SkSVGPath.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
SkSVGPath.h Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
SkSVGPattern.cpp [svg] Reference cycle avoidance 2020-04-08 20:04:17 +00:00
SkSVGPattern.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSVGPoly.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
SkSVGPoly.h Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
SkSVGRadialGradient.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSVGRadialGradient.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSVGRect.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
SkSVGRect.h Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
SkSVGRenderContext.cpp [SVG] Implement currentColor for fill and stroke 2020-04-09 18:48:16 +00:00
SkSVGRenderContext.h [svg] Reference cycle avoidance 2020-04-08 20:04:17 +00:00
SkSVGShape.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSVGShape.h Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
SkSVGStop.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSVGStop.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSVGSVG.cpp [SVG] Fix spec links 2020-04-08 15:48:08 +00:00
SkSVGSVG.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSVGText.cpp Add experimental support for svg text tag. 2020-03-27 13:56:49 +00:00
SkSVGText.h Add experimental support for svg text tag. 2020-03-27 13:56:49 +00:00
SkSVGTransformableNode.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSVGTransformableNode.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSVGTypes.h Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
SkSVGUse.cpp [svg] Reference cycle avoidance 2020-04-08 20:04:17 +00:00
SkSVGUse.h [SVG] Fix spec links 2020-04-08 15:48:08 +00:00
SkSVGValue.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
SkSVGValue.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00