• Home
  • Raw
  • Download

Lines Matching refs:SkFontStyle

55 fuchsia::fonts::Slant SkToFuchsiaSlant(SkFontStyle::Slant slant) {  in SkToFuchsiaSlant()
57 case SkFontStyle::kOblique_Slant: in SkToFuchsiaSlant()
59 case SkFontStyle::kItalic_Slant: in SkToFuchsiaSlant()
61 case SkFontStyle::kUpright_Slant: in SkToFuchsiaSlant()
67 SkFontStyle::Slant FuchsiaToSkSlant(fuchsia::fonts::Slant slant) { in FuchsiaToSkSlant()
70 return SkFontStyle::kOblique_Slant; in FuchsiaToSkSlant()
72 return SkFontStyle::kItalic_Slant; in FuchsiaToSkSlant()
75 return SkFontStyle::kUpright_Slant; in FuchsiaToSkSlant()
115 SkTypeface_Fuchsia(std::unique_ptr<SkFontData> fontData, const SkFontStyle& style, in SkTypeface_Fuchsia()
132 SkFontStyle style; in CreateTypefaceFromSkStream()
165 SkTypeface* onMatchFamilyStyle(const char familyName[], const SkFontStyle&) const override;
166 SkTypeface* onMatchFamilyStyleCharacter(const char familyName[], const SkFontStyle&,
169 SkTypeface* onMatchFaceStyle(const SkTypeface*, const SkFontStyle&) const override;
176 sk_sp<SkTypeface> onLegacyMakeTypeface(const char familyName[], SkFontStyle) const override;
181 sk_sp<SkTypeface> FetchTypeface(const char familyName[], const SkFontStyle& style,
202 std::vector<SkFontStyle> styles) in SkFontStyleSet_Fuchsia()
209 void getStyle(int index, SkFontStyle* style, SkString* styleName) override { in getStyle()
232 SkTypeface* matchStyle(const SkFontStyle& pattern) override { return matchStyleCSS3(pattern); } in matchStyle()
237 std::vector<SkFontStyle> fStyles;
266 std::vector<SkFontStyle> styles; in onMatchFamily()
268 styles.push_back(SkFontStyle(style.weight, style.width, FuchsiaToSkSlant(style.slant))); in onMatchFamily()
275 const SkFontStyle& style) const { in onMatchFamilyStyle()
284 const SkFontStyle& style, in onMatchFamilyStyleCharacter()
293 SkTypeface* SkFontMgr_Fuchsia::onMatchFaceStyle(const SkTypeface*, const SkFontStyle&) const { in onMatchFaceStyle()
317 SkFontStyle style) const { in onLegacyMakeTypeface()
322 const SkFontStyle& style, const char* bcp47[], in FetchTypeface()