diff options
Diffstat (limited to 'experimental/svg/model/SkSVGNode.cpp')
-rw-r--r-- | experimental/svg/model/SkSVGNode.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/experimental/svg/model/SkSVGNode.cpp b/experimental/svg/model/SkSVGNode.cpp index 0f3743ffd2..46d6423af2 100644 --- a/experimental/svg/model/SkSVGNode.cpp +++ b/experimental/svg/model/SkSVGNode.cpp @@ -139,6 +139,11 @@ void SkSVGNode::onSetAttribute(SkSVGAttribute attr, const SkSVGValue& v) { fPresentationAttributes.fStrokeLineJoin.set(*lineJoin); } break; + case SkSVGAttribute::kStrokeMiterLimit: + if (const SkSVGNumberValue* miterLimit = v.as<SkSVGNumberValue>()) { + fPresentationAttributes.fStrokeMiterLimit.set(*miterLimit); + } + break; case SkSVGAttribute::kStrokeWidth: if (const SkSVGLengthValue* strokeWidth = v.as<SkSVGLengthValue>()) { this->setStrokeWidth(*strokeWidth); |