Searched refs:SkSVGPropertyState (Results 1 – 3 of 3) sorted by relevance
30 enum class SkSVGPropertyState { enum41 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 …]
82 dest->set(SkSVGPropertyState::kInherit); \91 dest->set(SkSVGPropertyState::kInherit); \
60 PropertyT result(SkSVGPropertyState::kInherit); in parseProperty()