Searched refs:skia_style (Results 1 – 2 of 2) sorted by relevance
39 int skia_style = SkTypeface::kNormal; in CreateSkTypeface() local41 skia_style |= SkTypeface::kBold; in CreateSkTypeface()43 skia_style |= SkTypeface::kItalic; in CreateSkTypeface()46 family->c_str(), static_cast<SkTypeface::Style>(skia_style))); in CreateSkTypeface()51 kFallbackFontFamilyName, static_cast<SkTypeface::Style>(skia_style))); in CreateSkTypeface()
83 int skia_style = SkTypeface::kNormal; in ConvertFontStyleToSkiaTypefaceStyle() local84 skia_style |= (font_style & Font::BOLD) ? SkTypeface::kBold : 0; in ConvertFontStyleToSkiaTypefaceStyle()85 skia_style |= (font_style & Font::ITALIC) ? SkTypeface::kItalic : 0; in ConvertFontStyleToSkiaTypefaceStyle()86 return static_cast<SkTypeface::Style>(skia_style); in ConvertFontStyleToSkiaTypefaceStyle()375 SkTypeface::Style skia_style = ConvertFontStyleToSkiaTypefaceStyle(style); in CreateSkiaTypeface() local376 return skia::AdoptRef(SkTypeface::CreateFromName(family.c_str(), skia_style)); in CreateSkiaTypeface()