Searched refs:skia_style (Results 1 – 1 of 1) sorted by relevance
77 int skia_style = SkTypeface::kNormal; in ConvertFontStyleToSkiaTypefaceStyle() local78 skia_style |= (font_style & gfx::Font::BOLD) ? SkTypeface::kBold : 0; in ConvertFontStyleToSkiaTypefaceStyle()79 skia_style |= (font_style & gfx::Font::ITALIC) ? SkTypeface::kItalic : 0; in ConvertFontStyleToSkiaTypefaceStyle()80 return static_cast<SkTypeface::Style>(skia_style); in ConvertFontStyleToSkiaTypefaceStyle()212 SkTypeface::Style skia_style = ConvertFontStyleToSkiaTypefaceStyle(style); in SetFontFamilyWithStyle() local214 skia::AdoptRef(SkTypeface::CreateFromName(family.c_str(), skia_style)); in SetFontFamilyWithStyle()221 paint_.setFakeBoldText((skia_style & SkTypeface::kBold) && in SetFontFamilyWithStyle()