Home
last modified time | relevance | path

Searched refs:SkSVGLineCap (Results 1 – 14 of 14) sorted by relevance

/external/skqp/experimental/svg/model/
DSkSVGTypes.h151 class SkSVGLineCap {
160 constexpr SkSVGLineCap() : fType(Type::kInherit) {} in SkSVGLineCap() function
161 constexpr explicit SkSVGLineCap(Type t) : fType(t) {} in SkSVGLineCap() function
163 SkSVGLineCap(const SkSVGLineCap&) = default;
164 SkSVGLineCap& operator=(const SkSVGLineCap&) = default;
166 bool operator==(const SkSVGLineCap& other) const { return fType == other.fType; }
167 bool operator!=(const SkSVGLineCap& other) const { return !(*this == other); }
DSkSVGAttributeParser.cpp466 bool SkSVGAttributeParser::parseLineCap(SkSVGLineCap* cap) { in parseLineCap()
468 SkSVGLineCap::Type fType; in parseLineCap()
471 { SkSVGLineCap::Type::kButt , "butt" }, in parseLineCap()
472 { SkSVGLineCap::Type::kRound , "round" }, in parseLineCap()
473 { SkSVGLineCap::Type::kSquare , "square" }, in parseLineCap()
474 { SkSVGLineCap::Type::kInherit, "inherit" }, in parseLineCap()
480 *cap = SkSVGLineCap(gCapInfo[i].fType); in parseLineCap()
DSkSVGAttribute.cpp21 result.fStrokeLineCap.set(SkSVGLineCap(SkSVGLineCap::Type::kButt)); in MakeInitial()
DSkSVGRenderContext.cpp78 SkPaint::Cap toSkCap(const SkSVGLineCap& cap) { in toSkCap()
80 case SkSVGLineCap::Type::kButt: in toSkCap()
82 case SkSVGLineCap::Type::kRound: in toSkCap()
84 case SkSVGLineCap::Type::kSquare: in toSkCap()
203 if (cap.type() != SkSVGLineCap::Type::kInherit) { in commitToPaint()
DSkSVGAttribute.h75 SkTLazy<SkSVGLineCap> fStrokeLineCap;
DSkSVGAttributeParser.h26 bool parseLineCap(SkSVGLineCap*);
DSkSVGValue.h85 using SkSVGLineCapValue = SkSVGWrapperValue<SkSVGLineCap , SkSVGValue::Type::kLineCap >;
DSkSVGDOM.cpp148 SkSVGLineCap lineCap; in SetLineCapAttribute()
/external/skia/modules/svg/src/
DSkSVGAttributeParser.cpp581 bool SkSVGAttributeParser::parse(SkSVGLineCap* cap) { in parse()
583 SkSVGLineCap fType; in parse()
586 { SkSVGLineCap::kButt , "butt" }, in parse()
587 { SkSVGLineCap::kRound , "round" }, in parse()
588 { SkSVGLineCap::kSquare , "square" }, in parse()
594 *cap = SkSVGLineCap(gCapInfo[i].fType); in parse()
DSkSVGRenderContext.cpp86 SkPaint::Cap toSkCap(const SkSVGLineCap& cap) { in toSkCap()
88 case SkSVGLineCap::kButt: in toSkCap()
90 case SkSVGLineCap::kRound: in toSkCap()
92 case SkSVGLineCap::kSquare: in toSkCap()
DSkSVGAttribute.cpp21 result.fStrokeLineCap.set(SkSVGLineCap::kButt); in MakeInitial()
/external/skia/modules/svg/include/
DSkSVGAttribute.h82 SkSVGProperty<SkSVGLineCap , true> fStrokeLineCap;
DSkSVGNode.h129 SVG_PRES_ATTR(StrokeLineCap , SkSVGLineCap , true)
DSkSVGTypes.h248 enum class SkSVGLineCap { enum