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

Method parseColorToken

src/svg/SVGAttributeParser.cpp:391–394  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

389}
390
391bool SVGAttributeParser::parseColorToken(Color* c) {
392 return this->parseHexColorToken(c) || this->parseNamedColorToken(c) ||
393 this->parseRGBAColorToken(c) || this->parseRGBColorToken(c);
394}
395
396bool SVGAttributeParser::parseSVGColorType(SVGColorType* color) {
397 Color c;

Callers 1

parseSVGColorTypeMethod · 0.95

Calls 4

parseHexColorTokenMethod · 0.95
parseNamedColorTokenMethod · 0.95
parseRGBAColorTokenMethod · 0.95
parseRGBColorTokenMethod · 0.95

Tested by

no test coverage detected