Lines Matching refs:SkFontStyle
13 class SK_API SkFontStyle {
47 constexpr SkFontStyle(int weight, int width, Slant slant) : fValue( in SkFontStyle() function
53 constexpr SkFontStyle() : SkFontStyle{kNormal_Weight, kNormal_Width, kUpright_Slant} { } in SkFontStyle() function
55 bool operator==(const SkFontStyle& rhs) const {
63 static constexpr SkFontStyle Normal() { in Normal()
64 return SkFontStyle(kNormal_Weight, kNormal_Width, kUpright_Slant); in Normal()
66 static constexpr SkFontStyle Bold() { in Bold()
67 return SkFontStyle(kBold_Weight, kNormal_Width, kUpright_Slant); in Bold()
69 static constexpr SkFontStyle Italic() { in Italic()
70 return SkFontStyle(kNormal_Weight, kNormal_Width, kItalic_Slant ); in Italic()
72 static constexpr SkFontStyle BoldItalic() { in BoldItalic()
73 return SkFontStyle(kBold_Weight, kNormal_Width, kItalic_Slant ); in BoldItalic()