Home
last modified time | relevance | path

Searched refs:rtBBox (Results 1 – 4 of 4) sorted by relevance

/external/pdfium/core/fxge/android/
Dcfpf_skiafont.cpp90 bool CFPF_SkiaFont::GetGlyphBBox(int32_t iGlyphIndex, FX_RECT& rtBBox) { in GetGlyphBBox() argument
110 rtBBox.left = FPF_EM_ADJUST(x_ppem, cbox.xMin); in GetGlyphBBox()
111 rtBBox.right = FPF_EM_ADJUST(x_ppem, cbox.xMax); in GetGlyphBBox()
112 rtBBox.top = FPF_EM_ADJUST(y_ppem, cbox.yMax); in GetGlyphBBox()
113 rtBBox.bottom = FPF_EM_ADJUST(y_ppem, cbox.yMin); in GetGlyphBBox()
114 rtBBox.top = std::min(rtBBox.top, GetAscent()); in GetGlyphBBox()
115 rtBBox.bottom = std::max(rtBBox.bottom, GetDescent()); in GetGlyphBBox()
124 rtBBox.left = FPF_EM_ADJUST(FXFT_Get_Face_UnitsPerEM(m_Face), in GetGlyphBBox()
126 rtBBox.bottom = FPF_EM_ADJUST(FXFT_Get_Face_UnitsPerEM(m_Face), in GetGlyphBBox()
128 rtBBox.right = FPF_EM_ADJUST( in GetGlyphBBox()
[all …]
Dcfpf_skiafont.h33 bool GetGlyphBBox(int32_t iGlyphIndex, FX_RECT& rtBBox);
34 bool GetBBox(FX_RECT& rtBBox);
/external/pdfium/xfa/fgas/font/
Dcfgas_gefont.cpp204 FX_RECT rtBBox; in GetCharBBox() local
205 if (!m_pFont->GetGlyphBBox(iGlyph, rtBBox)) in GetCharBBox()
208 CFX_Rect rt(rtBBox.left, rtBBox.top, rtBBox.Width(), rtBBox.Height()); in GetCharBBox()
/external/pdfium/xfa/fgas/layout/
Dcfx_txtbreak.cpp852 CFX_Rect rtBBox; in GetDisplayPos() local
853 if (pFont->GetCharBBox(wForm, &rtBBox)) { in GetDisplayPos()
856 fFontSize * (float)rtBBox.height / (float)iMaxHeight; in GetDisplayPos()