Home
last modified time | relevance | path

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

/external/pdfium/core/fxge/android/
Dcfpf_skiafont.cpp76 bool CFPF_SkiaFont::GetGlyphBBox(int32_t iGlyphIndex, FX_RECT& rtBBox) { in GetGlyphBBox() argument
96 rtBBox.left = FPF_EM_ADJUST(x_ppem, cbox.xMin); in GetGlyphBBox()
97 rtBBox.right = FPF_EM_ADJUST(x_ppem, cbox.xMax); in GetGlyphBBox()
98 rtBBox.top = FPF_EM_ADJUST(y_ppem, cbox.yMax); in GetGlyphBBox()
99 rtBBox.bottom = FPF_EM_ADJUST(y_ppem, cbox.yMin); in GetGlyphBBox()
100 rtBBox.top = std::min(rtBBox.top, GetAscent()); in GetGlyphBBox()
101 rtBBox.bottom = std::max(rtBBox.bottom, GetDescent()); in GetGlyphBBox()
109 rtBBox.left = FPF_EM_ADJUST(FXFT_Get_Face_UnitsPerEM(GetFaceRec()), in GetGlyphBBox()
111 rtBBox.bottom = FPF_EM_ADJUST(FXFT_Get_Face_UnitsPerEM(GetFaceRec()), in GetGlyphBBox()
113 rtBBox.right = FPF_EM_ADJUST(FXFT_Get_Face_UnitsPerEM(GetFaceRec()), in GetGlyphBBox()
[all …]
Dcfpf_skiafont.h39 bool GetGlyphBBox(int32_t iGlyphIndex, FX_RECT& rtBBox);
40 bool GetBBox(FX_RECT& rtBBox);
/external/pdfium/xfa/fgas/font/
Dcfgas_gefont.cpp203 FX_RECT rtBBox; in GetCharBBox() local
204 if (!m_pFont->GetGlyphBBox(iGlyph, &rtBBox)) in GetCharBBox()
207 m_BBoxMap[wUnicode] = rtBBox; in GetCharBBox()
208 *bbox = rtBBox; in GetCharBBox()
/external/pdfium/xfa/fgas/layout/
Dcfx_txtbreak.cpp870 FX_RECT rtBBox; in GetDisplayPos() local
871 if (pFont->GetCharBBox(wForm, &rtBBox)) { in GetDisplayPos()
873 fYBase + fFontSize - fFontSize * rtBBox.Height() / iMaxHeight; in GetDisplayPos()