History log of /external/skia/experimental/svg/model/SkSVGAttribute.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e1dadd74f8a554ead3975431d6c09eb25749c904 14-Oct-2017 Florin Malita <fmalita@chromium.org> [SVGDom] Add 'stroke-dashoffset' support

https://www.w3.org/TR/SVG/painting.html#StrokeDashoffsetProperty
Change-Id: Ia25d0048a56ac3835cabcb4e1794d91667367d7c
Reviewed-on: https://skia-review.googlesource.com/59820
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
/external/skia/experimental/svg/model/SkSVGAttribute.cpp
f543a60ef06a6b0ccb5a0a85ca5415021c81c9ee 13-Oct-2017 Florin Malita <fmalita@chromium.org> [SVGDom] Add 'stroke-dasharray' support

https://www.w3.org/TR/SVG/painting.html#StrokeDasharrayProperty
Change-Id: I9a63ebbd958d661c865ed405570b86cca68f63bf
Reviewed-on: https://skia-review.googlesource.com/59700
Commit-Queue: Florin Malita <fmalita@chromium.org>
Reviewed-by: Robert Phillips <robertphillips@google.com>
/external/skia/experimental/svg/model/SkSVGAttribute.cpp
ffe6ae49e48a8c5cb53cec93643a2ad054faf74a 12-Oct-2017 Florin Malita <fmalita@chromium.org> [SVGDom] Add 'visibility' support

https://www.w3.org/TR/SVG/painting.html#VisibilityProperty

Change-Id: I8b872af26150d93cf39cf8eeba23c91e1decace3
Reviewed-on: https://skia-review.googlesource.com/58863
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
/external/skia/experimental/svg/model/SkSVGAttribute.cpp
57a0edf7ba03082e649f0c2ddc43930dfa849e7f 10-Oct-2017 Florin Malita <fmalita@chromium.org> [SVGDom] Add clip-rule support

Currently we use 'fill-rule' when emitting clip paths. This is wrong:
per spec [1], clip paths observe 'clip-rule', not 'fill-rule'.

[1] https://www.w3.org/TR/SVG/masking.html#ClipRuleProperty

Change-Id: Idf81de05e9601663c8dbc9856900ffa679daf4a5
Reviewed-on: https://skia-review.googlesource.com/57661
Reviewed-by: Robert Phillips <robertphillips@google.com>
Reviewed-by: Stephan Altmueller <stephana@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
/external/skia/experimental/svg/model/SkSVGAttribute.cpp
4de426b2422bec260686b6c4e3c4834eeffe864f 09-Oct-2017 Florin Malita <fmalita@chromium.org> [SVGDom] stroke-miterlimit support

https://www.w3.org/TR/SVG/painting.html#StrokeMiterlimitProperty
Change-Id: I5e488e95afe17c4b753e8177ea5783d4820e3d2c
Reviewed-on: https://skia-review.googlesource.com/57221
Reviewed-by: Robert Phillips <robertphillips@google.com>
Commit-Queue: Florin Malita <fmalita@chromium.org>
/external/skia/experimental/svg/model/SkSVGAttribute.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/SkSVGAttribute.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/SkSVGAttribute.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/SkSVGAttribute.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/SkSVGAttribute.cpp
6ceef3dd67617c5f4572ada98d5ee85777d2db99 27-Jul-2016 fmalita <fmalita@chromium.org> Initial SVG model

A minimal subset needed to render tiger.svg: <svg>, <g>, <path>, 'd', 'fill'/'stroke' (color-only), 'transform'.

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

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