diff options
author | Florin Malita <fmalita@chromium.org> | 2017-10-13 18:18:32 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-10-13 22:53:32 +0000 |
commit | e1dadd74f8a554ead3975431d6c09eb25749c904 (patch) | |
tree | 4ef0718d6809b4217d41423dc93d3832cbc5c0f0 /experimental/svg/model/SkSVGAttribute.h | |
parent | 7a0ebfc033463907e2088401972d14ea8589cdb5 (diff) |
[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>
Diffstat (limited to 'experimental/svg/model/SkSVGAttribute.h')
-rw-r--r-- | experimental/svg/model/SkSVGAttribute.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/experimental/svg/model/SkSVGAttribute.h b/experimental/svg/model/SkSVGAttribute.h index 1650c3b913..333e3c98e8 100644 --- a/experimental/svg/model/SkSVGAttribute.h +++ b/experimental/svg/model/SkSVGAttribute.h @@ -39,6 +39,7 @@ enum class SkSVGAttribute { kStopOpacity, kStroke, kStrokeDashArray, + kStrokeDashOffset, kStrokeOpacity, kStrokeLineCap, kStrokeLineJoin, @@ -70,6 +71,7 @@ struct SkSVGPresentationAttributes { SkTLazy<SkSVGPaint> fStroke; SkTLazy<SkSVGDashArray> fStrokeDashArray; + SkTLazy<SkSVGLength> fStrokeDashOffset; SkTLazy<SkSVGLineCap> fStrokeLineCap; SkTLazy<SkSVGLineJoin> fStrokeLineJoin; SkTLazy<SkSVGNumberType> fStrokeMiterLimit; |