Lines Matching refs:SkFontStyle
308 static SkFontStyle skfontstyle_from_fcpattern(FcPattern* pattern) { in skfontstyle_from_fcpattern()
309 typedef SkFontStyle SkFS; in skfontstyle_from_fcpattern()
344 return SkFontStyle(weight, width, slant); in skfontstyle_from_fcpattern()
347 static void fcpattern_from_skfontstyle(SkFontStyle style, FcPattern* pattern) { in fcpattern_from_skfontstyle()
350 typedef SkFontStyle SkFS; in fcpattern_from_skfontstyle()
387 SkTypeface_stream(SkFontData* data, const SkFontStyle& style, bool fixedWidth) in SkTypeface_stream()
481 void getStyle(int index, SkFontStyle* style, SkString* styleName) override { in getStyle()
502 SkTypeface* matchStyle(const SkFontStyle& style) override { in matchStyle()
575 static bool FindByFcPattern(SkTypeface* cached, const SkFontStyle&, void* ctx) { in FindByFcPattern() argument
594 fTFCache.add(face, SkFontStyle()); in createTypefaceFromFcPattern()
732 const SkFontStyle& style) const override in onMatchFamilyStyle()
770 const SkFontStyle& style, in onMatchFamilyStyleCharacter()
812 const SkFontStyle& style) const override in onMatchFaceStyle()
827 SkFontStyle style; in onCreateFromStream()
841 SkFontStyle style; in onCreateFromStream()
876 SkFontStyle style; in onCreateFromFontData()
889 SkFontStyle style = SkFontStyle(bold ? SkFontStyle::kBold_Weight in onLegacyCreateTypeface()
890 : SkFontStyle::kNormal_Weight, in onLegacyCreateTypeface()
891 SkFontStyle::kNormal_Width, in onLegacyCreateTypeface()
892 italic ? SkFontStyle::kItalic_Slant in onLegacyCreateTypeface()
893 : SkFontStyle::kUpright_Slant); in onLegacyCreateTypeface()