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

Method Unit

src/svg/SVGAttributeParser.cpp:231–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229bool SVGAttributeParser::parseLengthUnitToken(SVGLength::Unit& unit) {
230 struct Unit {
231 Unit(std::string name, SVGLength::Unit u) : unitName(std::move(name)), unit(u) {
232 }
233 std::string unitName;
234 SVGLength::Unit unit;
235 };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected