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