Home
last modified time | relevance | path

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

/external/skqp/experimental/svg/model/
DSkSVGAttribute.cpp15 result.fFillRule.set(SkSVGFillRule(SkSVGFillRule::Type::kNonZero)); in MakeInitial()
16 result.fClipRule.set(SkSVGFillRule(SkSVGFillRule::Type::kNonZero)); in MakeInitial()
DSkSVGTypes.h223 class SkSVGFillRule {
231 constexpr SkSVGFillRule() : fType(Type::kInherit) {} in SkSVGFillRule() function
232 constexpr explicit SkSVGFillRule(Type t) : fType(t) {} in SkSVGFillRule() function
234 SkSVGFillRule(const SkSVGFillRule&) = default;
235 SkSVGFillRule& operator=(const SkSVGFillRule&) = default;
237 bool operator==(const SkSVGFillRule& other) const { return fType == other.fType; }
238 bool operator!=(const SkSVGFillRule& other) const { return !(*this == other); }
DSkSVGAttribute.h69 SkTLazy<SkSVGFillRule> fFillRule;
70 SkTLazy<SkSVGFillRule> fClipRule;
DSkSVGNode.h55 void setClipRule(const SkSVGFillRule&);
58 void setFillRule(const SkSVGFillRule&);
DSkSVGAttributeParser.cpp575 bool SkSVGAttributeParser::parseFillRule(SkSVGFillRule* fillRule) { in parseFillRule()
577 SkSVGFillRule::Type fType; in parseFillRule()
580 { SkSVGFillRule::Type::kNonZero, "nonzero" }, in parseFillRule()
581 { SkSVGFillRule::Type::kEvenOdd, "evenodd" }, in parseFillRule()
582 { SkSVGFillRule::Type::kInherit, "inherit" }, in parseFillRule()
588 *fillRule = SkSVGFillRule(gFillRuleInfo[i].fType); in parseFillRule()
DSkSVGNode.cpp67 void SkSVGNode::setClipRule(const SkSVGFillRule& clipRule) { in setClipRule()
80 void SkSVGNode::setFillRule(const SkSVGFillRule& fillRule) { in setFillRule()
DSkSVGAttributeParser.h20 bool parseFillRule(SkSVGFillRule*);
DSkSVGValue.h79 using SkSVGFillRuleValue = SkSVGWrapperValue<SkSVGFillRule , SkSVGValue::Type::kFillRule >;
DSkSVGDOM.cpp196 SkSVGFillRule fillRule; in SetFillRuleAttribute()
/external/skia/modules/svg/src/
DSkSVGAttribute.cpp15 result.fFillRule.set(SkSVGFillRule(SkSVGFillRule::Type::kNonZero)); in MakeInitial()
16 result.fClipRule.set(SkSVGFillRule(SkSVGFillRule::Type::kNonZero)); in MakeInitial()
DSkSVGAttributeParser.cpp695 bool SkSVGAttributeParser::parse(SkSVGFillRule* fillRule) { in parse()
697 SkSVGFillRule::Type fType; in parse()
700 { SkSVGFillRule::Type::kNonZero, "nonzero" }, in parse()
701 { SkSVGFillRule::Type::kEvenOdd, "evenodd" }, in parse()
702 { SkSVGFillRule::Type::kInherit, "inherit" }, in parse()
708 *fillRule = SkSVGFillRule(gFillRuleInfo[i].fType); in parse()
/external/skia/modules/svg/include/
DSkSVGTypes.h302 class SkSVGFillRule {
310 constexpr SkSVGFillRule() : fType(Type::kInherit) {} in SkSVGFillRule() function
311 constexpr explicit SkSVGFillRule(Type t) : fType(t) {} in SkSVGFillRule() function
313 SkSVGFillRule(const SkSVGFillRule&) = default;
314 SkSVGFillRule& operator=(const SkSVGFillRule&) = default;
316 bool operator==(const SkSVGFillRule& other) const { return fType == other.fType; }
317 bool operator!=(const SkSVGFillRule& other) const { return !(*this == other); }
DSkSVGAttribute.h76 SkSVGProperty<SkSVGFillRule , true> fFillRule;
77 SkSVGProperty<SkSVGFillRule , true> fClipRule;
DSkSVGNode.h115 SVG_PRES_ATTR(ClipRule , SkSVGFillRule , true)
119 SVG_PRES_ATTR(FillRule , SkSVGFillRule , true)