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

/external/pdfium/core/src/fxge/android/
H A Dfpf_skiafont.cpp86 FX_BOOL CFPF_SkiaFont::GetGlyphBBox(int32_t iGlyphIndex, FX_RECT& rtBBox) { argument
108 rtBBox.left = FPF_EM_ADJUST(x_ppem, cbox.xMin);
109 rtBBox.right = FPF_EM_ADJUST(x_ppem, cbox.xMax);
110 rtBBox.top = FPF_EM_ADJUST(y_ppem, cbox.yMax);
111 rtBBox.bottom = FPF_EM_ADJUST(y_ppem, cbox.yMin);
112 rtBBox.top = std::min(rtBBox.top, GetAscent());
113 rtBBox.bottom = std::max(rtBBox.bottom, GetDescent());
122 rtBBox
134 GetBBox(FX_RECT& rtBBox) argument
[all...]
H A 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/
H A Dfx_unicode.cpp96 CFX_Rect rtBBox; local
97 rtBBox.Reset();
98 if (pFont->GetCharBBox(wch, rtBBox, bMBCSCode)) {
101 ptOffset.y = fFontSize * (1000 - rtBBox.height) / 1200.0f;
104 ptOffset.y = fFontSize * (1000 - rtBBox.height) / 6000.0f;
109 ptOffset.x = fFontSize * (600 - rtBBox.right()) / 1000.0f;
112 ptOffset.x = fFontSize * (950 - rtBBox.right()) / 1000.0f;
H A Dfx_textbreak.cpp1430 CFX_Rect rtBBox; local
1431 rtBBox.Reset();
1432 if (pFont->GetCharBBox(wForm, rtBBox, FALSE)) {
1435 fFontSize * (FX_FLOAT)rtBBox.height / (FX_FLOAT)iMaxHeight;
1441 CFX_Rect rtBBox; local
1442 rtBBox.Reset();
1443 if (pFont->GetCharBBox(wLast, rtBBox, FALSE)) {
1444 pCharPos->m_OriginY -= fFontSize * rtBBox.height / iMaxHeight;
1457 CFX_Rect rtBBox; local
1458 rtBBox
[all...]
H A Dfx_rtfbreak.cpp1324 CFX_Rect rtBBox; local
1325 rtBBox.Reset();
1326 if (pFont->GetCharBBox(wForm, rtBBox, bMBCSCode)) {
1327 ptOffset.x = fFontSize * (850 - rtBBox.right()) / 1000.0f;
1328 ptOffset.y = fFontSize * (1000 - rtBBox.height) / 2000.0f;
/external/pdfium/core/include/fxge/
H A 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/
H A Dfx_gefont.cpp447 FX_RECT rtBBox; local
448 if (m_pFont->GetGlyphBBox(iGlyph, rtBBox)) {
451 rt.Set(rtBBox.left, rtBBox.top, rtBBox.Width(), rtBBox.Height());

Completed in 254 milliseconds