diff options
author | Florin Malita <fmalita@chromium.org> | 2017-10-09 12:57:41 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-10-10 16:20:43 +0000 |
commit | 4de426b2422bec260686b6c4e3c4834eeffe864f (patch) | |
tree | de13e5cb22845f988296f28dbf4e33bd1e33e160 /experimental/svg/model/SkSVGAttribute.cpp | |
parent | a108c92ae5868ca99759a872edddb377f31ad1be (diff) |
[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>
Diffstat (limited to 'experimental/svg/model/SkSVGAttribute.cpp')
-rw-r--r-- | experimental/svg/model/SkSVGAttribute.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/experimental/svg/model/SkSVGAttribute.cpp b/experimental/svg/model/SkSVGAttribute.cpp index 4935d6afcf..6d318ca2f2 100644 --- a/experimental/svg/model/SkSVGAttribute.cpp +++ b/experimental/svg/model/SkSVGAttribute.cpp @@ -17,6 +17,7 @@ SkSVGPresentationAttributes SkSVGPresentationAttributes::MakeInitial() { result.fStroke.set(SkSVGPaint(SkSVGPaint::Type::kNone)); result.fStrokeLineCap.set(SkSVGLineCap(SkSVGLineCap::Type::kButt)); result.fStrokeLineJoin.set(SkSVGLineJoin(SkSVGLineJoin::Type::kMiter)); + result.fStrokeMiterLimit.set(SkSVGNumberType(4)); result.fStrokeOpacity.set(SkSVGNumberType(1)); result.fStrokeWidth.set(SkSVGLength(1)); |