Home
last modified time | relevance | path

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

/external/pdfium/core/src/fxge/android/
Dfpf_skiafont.cpp86 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 …]
Dfpf_skiafont.h34 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/
Dfx_unicode.cpp96 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()
Dfx_textbreak.cpp1430 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 …]
Dfx_rtfbreak.cpp1324 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/
Dfpf.h43 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/
Dfx_gefont.cpp447 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()