Searched defs:font_style (Results 1 - 12 of 12) sorted by relevance

/external/chromium_org/ui/gfx/
H A Dfont_list_unittest.cc48 int font_style = Font::BOLD | Font::ITALIC | Font::UNDERLINE; local
50 FontList font_list = FontList(font_names, font_style, font_size);
H A Drender_text_mac.h60 int font_style; member in struct:gfx::RenderTextMac::TextRun
H A Dfont_list.cc34 int font_style,
36 : impl_(new FontListImpl(font_names, font_style, font_size)) {}
61 FontList FontList::Derive(int size_delta, int font_style) const {
62 return FontList(impl_->Derive(size_delta, font_style));
69 FontList FontList::DeriveWithStyle(int font_style) const {
70 return Derive(0, font_style);
33 FontList(const std::vector<std::string>& font_names, int font_style, int font_size) argument
H A Dfont_list_impl.cc17 // Parses font description into |font_names|, |font_style| and |font_size|.
20 int* font_style,
34 *font_style = 0;
41 *font_style |= gfx::Font::BOLD;
43 *font_style |= gfx::Font::ITALIC;
50 std::string FontStyleAndSizeToString(int font_style, int font_size) { argument
52 if (font_style & gfx::Font::BOLD)
54 if (font_style & gfx::Font::ITALIC)
61 // Returns font description from |font_names|, |font_style|, and |font_size|.
63 int font_style,
18 ParseFontDescriptionString(const std::string& font_description_string, std::vector<std::string>* font_names, int* font_style, int* font_size) argument
62 BuildFontDescription(const std::vector<std::string>& font_names, int font_style, int font_size) argument
85 FontListImpl(const std::vector<std::string>& font_names, int font_style, int font_size) argument
[all...]
H A Drender_text_harfbuzz.h66 int font_style; member in struct:gfx::internal::TextRunHarfBuzz
H A Drender_text_win.h31 int font_style; member in struct:gfx::internal::TextRun
H A Dcanvas_skia.cc148 const int font_style = font_list.GetFontStyle(); local
149 render_text->SetStyle(BOLD, (font_style & Font::BOLD) != 0);
150 render_text->SetStyle(ITALIC, (font_style & Font::ITALIC) != 0);
151 render_text->SetStyle(UNDERLINE, (font_style & Font::UNDERLINE) != 0);
H A Dplatform_font_win.cc59 // Sets style properties on |font_info| based on |font_style|.
60 void SetLogFontStyle(int font_style, LOGFONT* font_info) { argument
61 font_info->lfUnderline = (font_style & gfx::Font::UNDERLINE) != 0;
62 font_info->lfItalic = (font_style & gfx::Font::ITALIC) != 0;
63 font_info->lfWeight = (font_style & gfx::Font::BOLD) ? FW_BOLD : FW_NORMAL;
H A Drender_text_pango.cc464 const int font_style = (style.style(BOLD) ? Font::BOLD : 0) | local
466 renderer.SetFontFamilyWithStyle(family_name, font_style);
H A Drender_text_win.cc42 // XP) and |font_style| if it is not the case already. Only considers bold and
46 int font_style,
49 const int target_style = (font_style & kStyleMask);
293 : font_style(0),
865 renderer.SetFontFamilyWithStyle(run->font.GetFontName(), run->font_style);
951 run->font_style = (style.style(BOLD) ? Font::BOLD : 0) |
954 run->font_style, &run->font);
1187 DeriveFontIfNecessary(font_size, font_height, run->font_style, &run->font);
44 DeriveFontIfNecessary(int font_size, int font_height, int font_style, Font* font) argument
H A Drender_text.cc82 SkTypeface::Style ConvertFontStyleToSkiaTypefaceStyle(int font_style) { argument
84 skia_style |= (font_style & Font::BOLD) ? SkTypeface::kBold : 0;
85 skia_style |= (font_style & Font::ITALIC) ? SkTypeface::kItalic : 0;
448 const int font_style = font_list.GetFontStyle(); local
449 SetStyle(BOLD, (font_style & gfx::Font::BOLD) != 0);
450 SetStyle(ITALIC, (font_style & gfx::Font::ITALIC) != 0);
451 SetStyle(UNDERLINE, (font_style & gfx::Font::UNDERLINE) != 0);
/external/chromium_org/ui/views/controls/
H A Dstyled_label.h42 int font_style; member in struct:views::StyledLabel::RangeStyleInfo

Completed in 6597 milliseconds