• Home
  • Raw
  • Download

Lines Matching refs:SkFontStyle

30     SkTypeface_Custom(const SkFontStyle& style, bool isFixedPitch,  in SkTypeface_Custom()
63 SkTypeface_Empty() : INHERITED(SkFontStyle(), false, true, SkString(), 0) {} in SkTypeface_Empty()
75 SkTypeface_Stream(const SkFontStyle& style, bool isFixedPitch, bool sysFont, in SkTypeface_Stream()
96 SkTypeface_File(const SkFontStyle& style, bool isFixedPitch, bool sysFont, in SkTypeface_File()
134 void getStyle(int index, SkFontStyle* style, SkString* name) override { in getStyle()
138 *style = SkFontStyle(bold ? SkFontStyle::kBold_Weight : SkFontStyle::kNormal_Weight, in getStyle()
139 SkFontStyle::kNormal_Width, in getStyle()
140 italic ? SkFontStyle::kItalic_Slant : SkFontStyle::kUpright_Slant); in getStyle()
149 static int match_score(const SkFontStyle& pattern, const SkFontStyle& candidate) { in match_score()
157 SkTypeface* matchStyle(const SkFontStyle& pattern) override { in matchStyle()
167 SkFontStyle style = SkFontStyle(bold ? SkFontStyle::kBold_Weight in matchStyle()
168 : SkFontStyle::kNormal_Weight, in matchStyle()
169 SkFontStyle::kNormal_Width, in matchStyle()
170 italic ? SkFontStyle::kItalic_Slant in matchStyle()
171 : SkFontStyle::kUpright_Slant); in matchStyle()
219 SkTypeface* tf = set->matchStyle(SkFontStyle(SkFontStyle::kNormal_Weight, in SkFontMgr_Custom()
220 SkFontStyle::kNormal_Width, in SkFontMgr_Custom()
221 SkFontStyle::kUpright_Slant)); in SkFontMgr_Custom()
259 const SkFontStyle& fontStyle) const override in onMatchFamilyStyle()
265 SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle&, in onMatchFamilyStyleCharacter() argument
273 const SkFontStyle& fontStyle) const override in onMatchFaceStyle()
296 SkFontStyle style; in onCreateFromStream()
313 SkFontStyle style = SkFontStyle(oldStyle & SkTypeface::kBold in onLegacyCreateTypeface()
314 ? SkFontStyle::kBold_Weight in onLegacyCreateTypeface()
315 : SkFontStyle::kNormal_Weight, in onLegacyCreateTypeface()
316 SkFontStyle::kNormal_Width, in onLegacyCreateTypeface()
318 ? SkFontStyle::kItalic_Slant in onLegacyCreateTypeface()
319 : SkFontStyle::kUpright_Slant); in onLegacyCreateTypeface()
396 SkFontStyle style = SkFontStyle(); // avoid uninitialized warning in load_directory_fonts()
484 SkFontStyle style = SkFontStyle(); // avoid uninitialized warning in load_embedded_font()