Searched refs:SkSVGFontStyle (Results 1 – 6 of 6) sorted by relevance
/external/skia/modules/svg/src/ |
D | SkSVGAttributeParser.cpp | 814 bool SkSVGAttributeParser::parse(SkSVGFontStyle* style) { in parse() 815 static constexpr std::tuple<const char*, SkSVGFontStyle::Type> gStyleMap[] = { in parse() 816 { "normal" , SkSVGFontStyle::Type::kNormal }, in parse() 817 { "italic" , SkSVGFontStyle::Type::kItalic }, in parse() 818 { "oblique", SkSVGFontStyle::Type::kOblique }, in parse() 819 { "inherit", SkSVGFontStyle::Type::kInherit }, in parse() 823 SkSVGFontStyle::Type type; in parse() 826 *style = SkSVGFontStyle(type); in parse()
|
D | SkSVGText.cpp | 53 auto slant = [](const SkSVGFontStyle& s) { in ResolveFont() 55 case SkSVGFontStyle::Type::kNormal: return SkFontStyle::kUpright_Slant; in ResolveFont() 56 case SkSVGFontStyle::Type::kItalic: return SkFontStyle::kItalic_Slant; in ResolveFont() 57 case SkSVGFontStyle::Type::kOblique: return SkFontStyle::kOblique_Slant; in ResolveFont() 58 case SkSVGFontStyle::Type::kInherit: { in ResolveFont()
|
D | SkSVGAttribute.cpp | 34 result.fFontStyle.init(SkSVGFontStyle::Type::kNormal); in MakeInitial()
|
/external/skia/modules/svg/include/ |
D | SkSVGTypes.h | 463 class SkSVGFontStyle { 472 SkSVGFontStyle() : fType(Type::kInherit) {} in SkSVGFontStyle() function 473 explicit SkSVGFontStyle(Type t) : fType(t) {} in SkSVGFontStyle() function 475 bool operator==(const SkSVGFontStyle& other) const { 478 bool operator!=(const SkSVGFontStyle& other) const { return !(*this == other); }
|
D | SkSVGAttribute.h | 95 SkSVGProperty<SkSVGFontStyle , true> fFontStyle;
|
D | SkSVGNode.h | 124 SVG_PRES_ATTR(FontStyle , SkSVGFontStyle , true)
|