Searched refs:GetFontSize (Results 1 - 25 of 57) sorted by relevance

123

/external/chromium_org/ui/gfx/
H A Dplatform_font_win_unittest.cc51 EXPECT_EQ(expected_font.GetFontSize(), derived_font.GetFontSize());
58 EXPECT_EQ(expected_font.GetFontSize(), derived_font.GetFontSize());
65 derived_font.GetFontSize() + 1);
67 EXPECT_EQ(expected_font.GetFontSize(), rederived_font.GetFontSize());
83 EXPECT_EQ(derived_1.GetFontSize(), derived_2.GetFontSize());
105 EXPECT_EQ(min_font.GetFontSize(), derived_fon
[all...]
H A Dplatform_font_pango_unittest.cc33 EXPECT_EQ(13, font->GetFontSize());
39 EXPECT_EQ(15, font2->GetFontSize());
H A Dfont.cc73 int Font::GetFontSize() const { function in class:gfx::Font
74 return platform_font_->GetFontSize();
H A Dfont_list.cc75 for (int font_size = font_list.GetFontSize(); font_size > 1; --font_size) {
118 int FontList::GetFontSize() const { function in class:gfx::FontList
119 return impl_->GetFontSize();
H A Dfont_unittest.cc65 EXPECT_EQ(cf.GetFontSize(), 16);
149 EXPECT_EQ(5, derived_font.GetFontSize());
158 EXPECT_EQ(6, derived_font.GetFontSize());
H A Dfont.h95 int GetFontSize() const;
H A Dplatform_font.h64 virtual int GetFontSize() const = 0;
H A Dfont_list_impl.cc106 font_size_ = fonts[0].GetFontSize();
110 DCHECK_EQ(fonts[i].GetFontSize(), font_size_);
180 FontStyleAndSizeToString(fonts_[0].GetStyle(), fonts_[0].GetFontSize());
185 int FontListImpl::GetFontSize() const { function in class:gfx::FontListImpl
240 font_size_ = fonts_[0].GetFontSize();
H A Dfont_list.h137 int GetFontSize() const;
H A Dfont_list_impl.h79 int GetFontSize() const;
H A Dplatform_font_ios.h28 virtual int GetFontSize() const OVERRIDE;
H A Dplatform_font_mac.h30 virtual int GetFontSize() const OVERRIDE;
H A Dplatform_font_pango.h52 virtual int GetFontSize() const OVERRIDE;
H A Dplatform_font_win.cc110 int font_size = font.GetFontSize();
113 if (font_height == font.GetHeight() && font_size == font.GetFontSize())
116 font_size = font.GetFontSize();
192 int PlatformFontWin::GetFontSize() const { function in class:gfx::PlatformFontWin
H A Dfont_list_unittest.cc21 font_string += base::IntToString(font.GetFontSize());
302 EXPECT_LT(derived_1.GetFontSize(), font_list.GetFontSize());
309 EXPECT_EQ(font_list.GetFontSize(), derived_2.GetFontSize());
H A Dfont_fallback_win.cc91 AppendFont(font_name, font.GetFontSize(), linked_fonts);
96 AppendFont(font_names[i], font.GetFontSize(), linked_fonts);
314 font.GetFontSize());
H A Dplatform_font_win.h65 virtual int GetFontSize() const OVERRIDE;
/external/pdfium/fpdfsdk/include/pdfwindow/
H A DPWL_Label.h21 virtual FX_FLOAT GetFontSize() const;
H A DPWL_ListBox.h63 virtual FX_FLOAT GetFontSize() const;
/external/pdfium/core/src/fpdftext/
H A Dfpdf_text_search.cpp45 if (pTextObj2->GetFontSize() != pTextObj1->GetFontSize()) {
97 FX_FLOAT last_width = nLastWidth * pPrevObj->GetFontSize() / 1000;
105 FX_FLOAT this_width = nThisWidth * pObj->GetFontSize() / 1000;
118 threshold *= nLastWidth > nThisWidth ? FXSYS_fabs(pPrevObj->GetFontSize()) : FXSYS_fabs(pObj->GetFontSize());
145 FX_FLOAT fs = pObj->GetFontSize();
H A Dfpdf_text_int.cpp278 rect.bottom = orgY + pCurObj->GetFont()->GetTypeDescent() * pCurObj->GetFontSize() / 1000;
285 rect.top = orgY + pCurObj->GetFont()->GetTypeAscent() * pCurObj->GetFontSize() / 1000;
286 FX_FLOAT xPosTemp = orgX + GetCharWidth(info_curchar.m_CharCode, pCurObj->GetFont()) * pCurObj->GetFontSize() / 1000;
612 info.m_FontSize = charinfo.m_pTextObj->GetFontSize();
1375 FX_FLOAT prev_width = GetCharWidth(item.m_CharCode, prev_Obj.m_pTextObj->GetFont()) * prev_Obj.m_pTextObj->GetFontSize() / 1000;
1382 FX_FLOAT this_width = GetCharWidth(item.m_CharCode, pTextObj->GetFont()) * pTextObj->GetFontSize() / 1000;
1793 charinfo.m_CharBox.top = rect.top * pTextObj->GetFontSize() / 1000 + item.m_OriginY;
1794 charinfo.m_CharBox.left = rect.left * pTextObj->GetFontSize() / 1000 + item.m_OriginX;
1795 charinfo.m_CharBox.right = rect.right * pTextObj->GetFontSize() / 1000 + item.m_OriginX;
1796 charinfo.m_CharBox.bottom = rect.bottom * pTextObj->GetFontSize() / 100
[all...]
H A Dfpdf_text.cpp86 FX_FLOAT char_left = pPosArray ? pPosArray[cc * 2] : char_box.left * pText->m_TextState.GetFontSize() / 1000;
87 FX_FLOAT char_right = pPosArray ? pPosArray[cc * 2 + 1] : char_box.right * pText->m_TextState.GetFontSize() / 1000;
88 FX_FLOAT char_top = char_box.top * pText->m_TextState.GetFontSize() / 1000;
89 FX_FLOAT char_bottom = char_box.bottom * pText->m_TextState.GetFontSize() / 1000;
104 FX_FLOAT ratio_h = fontsize_h / pText->m_TextState.GetFontSize();
/external/pdfium/fpdfsdk/src/pdfwindow/
H A DPWL_Label.cpp61 FX_FLOAT CPWL_Label::GetFontSize() const function in class:CPWL_Label
63 return m_pEdit->GetFontSize();
/external/chromium_org/chrome/browser/ui/views/profiles/
H A Davatar_label.cc46 const int difference = std::max<int>(0, 13 - gfx::FontList().GetFontSize());
/external/pdfium/core/include/fpdfapi/
H A Dfpdf_pageobj.h246 FX_FLOAT GetFontSize() const function in class:CPDF_TextState
559 FX_FLOAT GetFontSize() const function in class:CPDF_TextObject
561 return m_TextState.GetFontSize();

Completed in 6133 milliseconds

123