Home
last modified time | relevance | path

Searched refs:SkSVGPropertyState (Results 1 – 3 of 3) sorted by relevance

/external/skia/modules/svg/include/
DSkSVGTypes.h30 enum class SkSVGPropertyState { enum
41 SkSVGProperty() : fState(SkSVGPropertyState::kUnspecified) {} in SkSVGProperty()
43 explicit SkSVGProperty(SkSVGPropertyState state) : fState(state) {} in SkSVGProperty()
45 explicit SkSVGProperty(const T& value) : fState(SkSVGPropertyState::kValue) { in SkSVGProperty()
49 explicit SkSVGProperty(T&& value) : fState(SkSVGPropertyState::kValue) { in SkSVGProperty()
55 fState = SkSVGPropertyState::kValue; in init()
61 bool isValue() const { return fState == SkSVGPropertyState::kValue; } in isValue()
67 void set(SkSVGPropertyState state) { in set()
69 if (fState != SkSVGPropertyState::kValue) { in set()
75 fState = SkSVGPropertyState::kValue; in set()
[all …]
DSkSVGNode.h82 dest->set(SkSVGPropertyState::kInherit); \
91 dest->set(SkSVGPropertyState::kInherit); \
DSkSVGAttributeParser.h60 PropertyT result(SkSVGPropertyState::kInherit); in parseProperty()