Home
last modified time | relevance | path

Searched refs:SkSVGFontStyle (Results 1 – 6 of 6) sorted by relevance

/external/skia/modules/svg/src/
DSkSVGAttributeParser.cpp814 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()
DSkSVGText.cpp53 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()
DSkSVGAttribute.cpp34 result.fFontStyle.init(SkSVGFontStyle::Type::kNormal); in MakeInitial()
/external/skia/modules/svg/include/
DSkSVGTypes.h463 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); }
DSkSVGAttribute.h95 SkSVGProperty<SkSVGFontStyle , true> fFontStyle;
DSkSVGNode.h124 SVG_PRES_ATTR(FontStyle , SkSVGFontStyle , true)