Home
last modified time | relevance | path

Searched refs:font_ref_ (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/ui/gfx/
Dplatform_font_win.cc79 PlatformFontWin::PlatformFontWin() : font_ref_(GetBaseFontRef()) { in PlatformFontWin()
128 const int requested_font_size = font_ref_->requested_font_size(); in DeriveFont()
137 return font_ref_->height(); in GetHeight()
141 return font_ref_->baseline(); in GetBaseline()
145 return font_ref_->cap_height(); in GetCapHeight()
149 return font_ref_->ave_char_width(); in GetAverageCharacterWidth()
158 return length * std::min(font_ref_->GetDluBaseX(), in GetExpectedTextWidth()
163 return font_ref_->style(); in GetStyle()
167 return font_ref_->font_name(); in GetFontName()
174 return font_ref_->font_name(); in GetActualFontNameForTesting()
[all …]
Dplatform_font_win.h26 return dlus * font_ref_->GetDluBaseX() / 4; in horizontal_dlus_to_pixels()
29 return dlus * font_ref_->height() / 8; in vertical_dlus_to_pixels()
155 scoped_refptr<HFontRef> font_ref_; variable
/external/chromium_org/content/renderer/pepper/
Dpepper_truetype_font_mac.mm117 base::ScopedCFTypeRef<CTFontRef> font_ref_;
209 font_ref_.reset(CTFontCreateWithFontDescriptor(desc_ref, 0, NULL));
216 return font_ref_.get() != NULL;
225 CTFontCopyFontDescriptor(font_ref_));
237 CTFontSymbolicTraits symbolic_traits(CTFontGetSymbolicTraits(font_ref_));
265 CTFontCopyAvailableTables(font_ref_, kCTFontTableOptionNoOptions));
288 CTFontCopyTable(font_ref_,
322 CTFontCopyAttribute(font_ref_, kCTFontFormatAttribute)));