MCPcopy Create free account
hub / github.com/Tencent/tgfx / parseAndSetAttribute

Method parseAndSetAttribute

src/svg/node/SVGFe.cpp:111–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111bool SVGFe::parseAndSetAttribute(const std::string& name, const std::string& value) {
112 return INHERITED::parseAndSetAttribute(name, value) ||
113 this->setIn(SVGAttributeParser::parse<SVGFeInputType>("in", name, value)) ||
114 this->setResult(SVGAttributeParser::parse<SVGStringType>("result", name, value)) ||
115 this->setX(SVGAttributeParser::parse<SVGLength>("x", name, value)) ||
116 this->setY(SVGAttributeParser::parse<SVGLength>("y", name, value)) ||
117 this->setWidth(SVGAttributeParser::parse<SVGLength>("width", name, value)) ||
118 this->setHeight(SVGAttributeParser::parse<SVGLength>("height", name, value));
119}
120
121template <>
122bool SVGAttributeParser::parse(SVGFeInputType* type) {

Callers 1

SetAttributeMethod · 0.45

Calls 2

setWidthMethod · 0.45
setHeightMethod · 0.45

Tested by

no test coverage detected