Go to the source code of this file.
◆ PARSE_AND_SET
#define PARSE_AND_SET |
( |
|
svgName, |
|
|
|
attrName |
|
) |
| |
Value: this->set##attrName( \
svgName, n, v))
static ParseResult< PropertyT > parseProperty(const char *expectedName, const char *name, const char *value)
◆ SetInheritedByDefault()
void SetInheritedByDefault |
( |
SkTLazy< T > & |
presentation_attribute, |
|
|
const T & |
value |
|
) |
| |
Definition at line 80 of file SkSVGNode.cpp.
80 {
81 if (
value.type() != T::Type::kInherit) {
82 presentation_attribute.
set(value);
83 } else {
84
85
86 presentation_attribute.
reset();
87 }
88}