Home
last modified time | relevance | path

Searched refs:SkSVGVisibility (Results 1 – 15 of 15) sorted by relevance

/external/skqp/experimental/svg/model/
DSkSVGTypes.h251 class SkSVGVisibility {
260 constexpr SkSVGVisibility() : fType(Type::kVisible) {} in SkSVGVisibility() function
261 constexpr explicit SkSVGVisibility(Type t) : fType(t) {} in SkSVGVisibility() function
263 SkSVGVisibility(const SkSVGVisibility&) = default;
264 SkSVGVisibility& operator=(const SkSVGVisibility&) = default;
266 bool operator==(const SkSVGVisibility& other) const { return fType == other.fType; }
267 bool operator!=(const SkSVGVisibility& other) const { return !(*this == other); }
DSkSVGAttributeParser.cpp598 bool SkSVGAttributeParser::parseVisibility(SkSVGVisibility* visibility) { in parseVisibility()
600 SkSVGVisibility::Type fType; in parseVisibility()
603 { SkSVGVisibility::Type::kVisible , "visible" }, in parseVisibility()
604 { SkSVGVisibility::Type::kHidden , "hidden" }, in parseVisibility()
605 { SkSVGVisibility::Type::kCollapse, "collapse" }, in parseVisibility()
606 { SkSVGVisibility::Type::kInherit , "inherit" }, in parseVisibility()
612 *visibility = SkSVGVisibility(parseInfo.fType); in parseVisibility()
DSkSVGAttribute.cpp27 result.fVisibility.set(SkSVGVisibility(SkSVGVisibility::Type::kVisible)); in MakeInitial()
DSkSVGNode.cpp56 return visibility != SkSVGVisibility::Type::kHidden; in onPrepareToRender()
110 void SkSVGNode::setVisibility(const SkSVGVisibility& visibility) { in setVisibility()
DSkSVGAttribute.h81 SkTLazy<SkSVGVisibility> fVisibility;
DSkSVGAttributeParser.h31 bool parseVisibility(SkSVGVisibility*);
DSkSVGNode.h65 void setVisibility(const SkSVGVisibility&);
DSkSVGValue.h92 using SkSVGVisibilityValue = SkSVGWrapperValue<SkSVGVisibility , SkSVGValue::Type::kVisibility>;
DSkSVGDOM.cpp208 SkSVGVisibility visibility; in SetVisibilityAttribute()
/external/skia/modules/svg/include/
DSkSVGTypes.h330 class SkSVGVisibility {
339 constexpr SkSVGVisibility() : fType(Type::kVisible) {} in SkSVGVisibility() function
340 constexpr explicit SkSVGVisibility(Type t) : fType(t) {} in SkSVGVisibility() function
342 SkSVGVisibility(const SkSVGVisibility&) = default;
343 SkSVGVisibility& operator=(const SkSVGVisibility&) = default;
345 bool operator==(const SkSVGVisibility& other) const { return fType == other.fType; }
346 bool operator!=(const SkSVGVisibility& other) const { return !(*this == other); }
DSkSVGAttribute.h88 SkSVGProperty<SkSVGVisibility, true> fVisibility;
DSkSVGNode.h135 SVG_PRES_ATTR(Visibility , SkSVGVisibility, true)
/external/skia/modules/svg/src/
DSkSVGAttribute.cpp27 result.fVisibility.set(SkSVGVisibility(SkSVGVisibility::Type::kVisible)); in MakeInitial()
DSkSVGAttributeParser.cpp719 bool SkSVGAttributeParser::parse(SkSVGVisibility* visibility) { in parse()
721 SkSVGVisibility::Type fType; in parse()
724 { SkSVGVisibility::Type::kVisible , "visible" }, in parse()
725 { SkSVGVisibility::Type::kHidden , "hidden" }, in parse()
726 { SkSVGVisibility::Type::kCollapse, "collapse" }, in parse()
727 { SkSVGVisibility::Type::kInherit , "inherit" }, in parse()
733 *visibility = SkSVGVisibility(parseInfo.fType); in parse()
DSkSVGNode.cpp71 return visibility != SkSVGVisibility::Type::kHidden && in onPrepareToRender()