Searched refs:SkSVGFontWeight (Results 1 – 6 of 6) sorted by relevance
/external/skia/modules/svg/src/ |
D | SkSVGAttributeParser.cpp | 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() [all …]
|
D | SkSVGText.cpp | 30 auto weight = [](const SkSVGFontWeight& w) { in ResolveFont() 32 case SkSVGFontWeight::Type::k100: return SkFontStyle::kThin_Weight; in ResolveFont() 33 case SkSVGFontWeight::Type::k200: return SkFontStyle::kExtraLight_Weight; in ResolveFont() 34 case SkSVGFontWeight::Type::k300: return SkFontStyle::kLight_Weight; in ResolveFont() 35 case SkSVGFontWeight::Type::k400: return SkFontStyle::kNormal_Weight; in ResolveFont() 36 case SkSVGFontWeight::Type::k500: return SkFontStyle::kMedium_Weight; in ResolveFont() 37 case SkSVGFontWeight::Type::k600: return SkFontStyle::kSemiBold_Weight; in ResolveFont() 38 case SkSVGFontWeight::Type::k700: return SkFontStyle::kBold_Weight; in ResolveFont() 39 case SkSVGFontWeight::Type::k800: return SkFontStyle::kExtraBold_Weight; in ResolveFont() 40 case SkSVGFontWeight::Type::k900: return SkFontStyle::kBlack_Weight; in ResolveFont() [all …]
|
D | SkSVGAttribute.cpp | 36 result.fFontWeight.init(SkSVGFontWeight::Type::kNormal); in MakeInitial()
|
/external/skia/modules/svg/include/ |
D | SkSVGTypes.h | 512 class SkSVGFontWeight { 531 SkSVGFontWeight() : fType(Type::kInherit) {} in SkSVGFontWeight() function 532 explicit SkSVGFontWeight(Type t) : fType(t) {} in SkSVGFontWeight() function 534 bool operator==(const SkSVGFontWeight& other) const { 537 bool operator!=(const SkSVGFontWeight& other) const { return !(*this == other); }
|
D | SkSVGAttribute.h | 97 SkSVGProperty<SkSVGFontWeight, true> fFontWeight;
|
D | SkSVGNode.h | 125 SVG_PRES_ATTR(FontWeight , SkSVGFontWeight, true)
|