Searched refs:rtBBox (Results 1 – 4 of 4) sorted by relevance
/external/pdfium/core/fxge/android/ |
D | cfpf_skiafont.cpp | 90 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 …]
|
D | cfpf_skiafont.h | 32 bool GetGlyphBBox(int32_t iGlyphIndex, FX_RECT& rtBBox); 33 bool GetBBox(FX_RECT& rtBBox);
|
/external/pdfium/xfa/fgas/font/ |
D | cfgas_gefont.cpp | 330 FX_RECT rtBBox; in GetCharBBoxInternal() local 331 if (!m_pFont->GetGlyphBBox(iGlyph, rtBBox)) in GetCharBBoxInternal() 334 CFX_Rect rt(rtBBox.left, rtBBox.top, rtBBox.Width(), rtBBox.Height()); in GetCharBBoxInternal()
|
/external/pdfium/xfa/fgas/layout/ |
D | fgas_textbreak.cpp | 1405 CFX_Rect rtBBox; in GetDisplayPos() local 1406 if (pFont->GetCharBBox(wForm, &rtBBox, false)) { in GetDisplayPos() 1409 fFontSize * (FX_FLOAT)rtBBox.height / (FX_FLOAT)iMaxHeight; in GetDisplayPos() 1423 CFX_Rect rtBBox; in GetDisplayPos() local 1424 if (pFont->GetCharBBox(wForm, &rtBBox, false)) { in GetDisplayPos() 1425 ptOffset.x = fFontSize * (850 - rtBBox.right()) / iMaxHeight; in GetDisplayPos() 1426 ptOffset.y = fFontSize * (iAscent - rtBBox.top - 150) / iMaxHeight; in GetDisplayPos()
|