Lines Matching refs:SkSVGFontWeight
835 bool SkSVGAttributeParser::parse(SkSVGFontWeight* weight) { in parse()
836 static constexpr std::tuple<const char*, SkSVGFontWeight::Type> gWeightMap[] = { in parse()
837 { "normal" , SkSVGFontWeight::Type::kNormal }, in parse()
838 { "bold" , SkSVGFontWeight::Type::kBold }, in parse()
839 { "bolder" , SkSVGFontWeight::Type::kBolder }, in parse()
840 { "lighter", SkSVGFontWeight::Type::kLighter }, in parse()
841 { "100" , SkSVGFontWeight::Type::k100 }, in parse()
842 { "200" , SkSVGFontWeight::Type::k200 }, in parse()
843 { "300" , SkSVGFontWeight::Type::k300 }, in parse()
844 { "400" , SkSVGFontWeight::Type::k400 }, in parse()
845 { "500" , SkSVGFontWeight::Type::k500 }, in parse()
846 { "600" , SkSVGFontWeight::Type::k600 }, in parse()
847 { "700" , SkSVGFontWeight::Type::k700 }, in parse()
848 { "800" , SkSVGFontWeight::Type::k800 }, in parse()
849 { "900" , SkSVGFontWeight::Type::k900 }, in parse()
850 { "inherit", SkSVGFontWeight::Type::kInherit }, in parse()
854 SkSVGFontWeight::Type type; in parse()
857 *weight = SkSVGFontWeight(type); in parse()