History log of /external/skia/experimental/svg/model/SkSVGAttributeParser.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ce8840e3842f3a702c5d7bf440ff730bdfaf8e70 08-Dec-2016 Florin Malita <fmalita@chromium.org> [SVGDom] ClipPath support

* clip-path attribute handling
* clipPath container element
* asPath() SkSVGNode virtual for capturing subtree geometry

R=robertphillips@google.com,stephana@google.com

Change-Id: I9597534fe3047b631da6309eafac055dff5696e9
Reviewed-on: https://skia-review.googlesource.com/5650
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
/external/skia/experimental/svg/model/SkSVGAttributeParser.cpp
e932d4b3a99905a6272c5574f21ac651632f4e82 01-Dec-2016 Florin Malita <fmalita@chromium.org> [SVGDom] Add fill-rule support

There's a bit of friction with this attribute, because per spec it is
an inherited presentation attribute, but in Skia it is part of the
actual SkPath state.

So we must add some plumbing to SkSVGShape & friends to allow overriding
the fill type at render-time.

R=robertphillips@google.com,stephana@google.com

Change-Id: I9c926d653c6211beb3914bffac50d4349dbdd2c0
Reviewed-on: https://skia-review.googlesource.com/5415
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
/external/skia/experimental/svg/model/SkSVGAttributeParser.cpp
cecd617a4297ffdcec632ca7e2ed1e6b61665e04 13-Sep-2016 fmalita <fmalita@chromium.org> [SVGDom] Linear gradient 'spreadMethod' support

R=stephana@google.com,robertphillips@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2337203002

Review-Url: https://codereview.chromium.org/2337203002
/external/skia/experimental/svg/model/SkSVGAttributeParser.cpp
28d5b72d86fdfae20dc47ba548748f119c7273e3 13-Sep-2016 fmalita <fmalita@chromium.org> [SVGDom] Initial linear gradient support

Kind of a big change, to connect several new bits into something useful:

* ID tracking & lookup
* new asPaint() node virtual to support shader (and in the future filter) based paint servers
* <defs>, <linearGradient> and <stop> element support
* 'href', 'offset', 'stop-color', 'stop-opacity' attribute support
* IRI/FuncIRI and rgb(...) parsing

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2327233003

Review-Url: https://codereview.chromium.org/2327233003
/external/skia/experimental/svg/model/SkSVGAttributeParser.cpp
5b31f321fcc3bb7f2ed7cf31ff4b03901228594b 12-Aug-2016 fmalita <fmalita@chromium.org> [SVGDom] <polygon> & <polyline> support

R=robertphillips@google.com,stephana@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2235273003

Review-Url: https://codereview.chromium.org/2235273003
/external/skia/experimental/svg/model/SkSVGAttributeParser.cpp
2d961e086bb40b371b1a667536fa089794847368 11-Aug-2016 fmalita <fmalita@chromium.org> [SVGDom] Add more presentation attributes.

Implement proper presentation attribute inheritance, and add
support for

* fill-opacity
* stroke-linecap
* stroke-linejoin
* stroke-opacity
* stroke-width

R=robertphillips@google.com,stephana@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2234153002

Review-Url: https://codereview.chromium.org/2234153002
/external/skia/experimental/svg/model/SkSVGAttributeParser.cpp
61f36b37084e7b1c80cfc485825588604a401c9a 08-Aug-2016 fmalita <fmalita@chromium.org> [SVGDom] Improve whitespace handling in style parsing

Handle whitespace-padded style names/values.

R=stephana@google.com,robertphillips@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2225623002

Review-Url: https://codereview.chromium.org/2225623002
/external/skia/experimental/svg/model/SkSVGAttributeParser.cpp
c97796b47b2f3e0ca8c04073c1576db21b58eedb 08-Aug-2016 fmalita <fmalita@chromium.org> [SVGDom] Improved transform parsing

Update 'transform' attribute parsing to a more robust, SkSVGAttributeParser-based implementation.

R=robertphillips@google.com,stephana@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2220933003

Review-Url: https://codereview.chromium.org/2220933003
/external/skia/experimental/svg/model/SkSVGAttributeParser.cpp
397a517d1a5774653fcdd08172f9a6b5eea67621 08-Aug-2016 fmalita <fmalita@chromium.org> [SVGDom] Add viewBox support

The main feature is <svg> viewBox and proper viewport support, but the CL
touches a few other things:

* refactor SkSVGRenderContext to auto-restore canvas state, and split the
presentation bits into a separate CoW SkSVGPresentationContext

* introduce SkSVGNode::onPrepareToRender(), as a way for nodes to push their
custom state before the actual onRender() call (instead of relying on
non-virtual SkSVGNode to know about all possible state bits)

* add a "Type" suffix to SVG types, to disambiguate (e.g. SkSVGRectType vs.
SkSVGRect)

R=robertphillips@google.com,stephana@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2222793002

Review-Url: https://codereview.chromium.org/2222793002
/external/skia/experimental/svg/model/SkSVGAttributeParser.cpp
bffc2566872f99d378a1113d0a49ec9ee0d60b7a 03-Aug-2016 fmalita <fmalita@chromium.org> [SVGDom] Initial SVGLength support

Mostly plumb new length types, but also introduce a stateful parser,
rect shape and named color support.

R=reed@google.com,robertphillips@google.com,stephana@google.com
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2202053002

Review-Url: https://codereview.chromium.org/2202053002
/external/skia/experimental/svg/model/SkSVGAttributeParser.cpp