Searched refs:rtBBox (Results 1 – 7 of 7) sorted by relevance
/external/pdfium/core/src/fxge/android/ |
D | fpf_skiafont.cpp | 86 FX_BOOL CFPF_SkiaFont::GetGlyphBBox(int32_t iGlyphIndex, FX_RECT& rtBBox) { in GetGlyphBBox() argument 108 rtBBox.left = FPF_EM_ADJUST(x_ppem, cbox.xMin); in GetGlyphBBox() 109 rtBBox.right = FPF_EM_ADJUST(x_ppem, cbox.xMax); in GetGlyphBBox() 110 rtBBox.top = FPF_EM_ADJUST(y_ppem, cbox.yMax); in GetGlyphBBox() 111 rtBBox.bottom = FPF_EM_ADJUST(y_ppem, cbox.yMin); in GetGlyphBBox() 112 rtBBox.top = std::min(rtBBox.top, GetAscent()); in GetGlyphBBox() 113 rtBBox.bottom = std::max(rtBBox.bottom, GetDescent()); in GetGlyphBBox() 122 rtBBox.left = FPF_EM_ADJUST(FXFT_Get_Face_UnitsPerEM(m_Face), in GetGlyphBBox() 124 rtBBox.bottom = FPF_EM_ADJUST(FXFT_Get_Face_UnitsPerEM(m_Face), in GetGlyphBBox() 126 rtBBox.right = FPF_EM_ADJUST( in GetGlyphBBox() [all …]
|
D | fpf_skiafont.h | 34 FX_BOOL GetGlyphBBox(int32_t iGlyphIndex, FX_RECT& rtBBox) override; 35 FX_BOOL GetBBox(FX_RECT& rtBBox) override;
|
/external/pdfium/xfa/src/fgas/src/layout/ |
D | fx_unicode.cpp | 96 CFX_Rect rtBBox; in FX_AdjustJapCharDisplayPos() local 97 rtBBox.Reset(); in FX_AdjustJapCharDisplayPos() 98 if (pFont->GetCharBBox(wch, rtBBox, bMBCSCode)) { in FX_AdjustJapCharDisplayPos() 101 ptOffset.y = fFontSize * (1000 - rtBBox.height) / 1200.0f; in FX_AdjustJapCharDisplayPos() 104 ptOffset.y = fFontSize * (1000 - rtBBox.height) / 6000.0f; in FX_AdjustJapCharDisplayPos() 109 ptOffset.x = fFontSize * (600 - rtBBox.right()) / 1000.0f; in FX_AdjustJapCharDisplayPos() 112 ptOffset.x = fFontSize * (950 - rtBBox.right()) / 1000.0f; in FX_AdjustJapCharDisplayPos()
|
D | fx_textbreak.cpp | 1430 CFX_Rect rtBBox; in GetDisplayPos() local 1431 rtBBox.Reset(); in GetDisplayPos() 1432 if (pFont->GetCharBBox(wForm, rtBBox, FALSE)) { in GetDisplayPos() 1435 fFontSize * (FX_FLOAT)rtBBox.height / (FX_FLOAT)iMaxHeight; in GetDisplayPos() 1441 CFX_Rect rtBBox; in GetDisplayPos() local 1442 rtBBox.Reset(); in GetDisplayPos() 1443 if (pFont->GetCharBBox(wLast, rtBBox, FALSE)) { in GetDisplayPos() 1444 pCharPos->m_OriginY -= fFontSize * rtBBox.height / iMaxHeight; in GetDisplayPos() 1457 CFX_Rect rtBBox; in GetDisplayPos() local 1458 rtBBox.Reset(); in GetDisplayPos() [all …]
|
D | fx_rtfbreak.cpp | 1324 CFX_Rect rtBBox; in GetDisplayPos() local 1325 rtBBox.Reset(); in GetDisplayPos() 1326 if (pFont->GetCharBBox(wForm, rtBBox, bMBCSCode)) { in GetDisplayPos() 1327 ptOffset.x = fFontSize * (850 - rtBBox.right()) / 1000.0f; in GetDisplayPos() 1328 ptOffset.y = fFontSize * (1000 - rtBBox.height) / 2000.0f; in GetDisplayPos()
|
/external/pdfium/core/include/fxge/ |
D | fpf.h | 43 virtual FX_BOOL GetGlyphBBox(int32_t iGlyphIndex, FX_RECT& rtBBox) = 0; 44 virtual FX_BOOL GetBBox(FX_RECT& rtBBox) = 0;
|
/external/pdfium/xfa/src/fgas/src/font/ |
D | fx_gefont.cpp | 447 FX_RECT rtBBox; in GetCharBBox() local 448 if (m_pFont->GetGlyphBBox(iGlyph, rtBBox)) { in GetCharBBox() 451 rt.Set(rtBBox.left, rtBBox.top, rtBBox.Width(), rtBBox.Height()); in GetCharBBox()
|