Lines Matching refs:SkFontStyle
8 #include "SkFontStyle.h"
12 SkFontStyle::SkFontStyle() {
19 SkFontStyle::SkFontStyle(int weight, int width, Slant slant) {
26 /*static*/SkFontStyle SkFontStyle::FromOldStyle(unsigned oldStyle) {
27 return SkFontStyle((oldStyle & SkTypeface::kBold) ? SkFontStyle::kBold_Weight
28 : SkFontStyle::kNormal_Weight,
29 SkFontStyle::kNormal_Width,
30 (oldStyle & SkTypeface::kItalic) ? SkFontStyle::kItalic_Slant
31 : SkFontStyle::kUpright_Slant);