Home
last modified time | relevance | path

Searched refs:skia_style (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/ui/gfx/
Dplatform_font_pango.cc39 int skia_style = SkTypeface::kNormal; in CreateSkTypeface() local
41 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()
Drender_text.cc83 int skia_style = SkTypeface::kNormal; in ConvertFontStyleToSkiaTypefaceStyle() local
84 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() local
376 return skia::AdoptRef(SkTypeface::CreateFromName(family.c_str(), skia_style)); in CreateSkiaTypeface()