Home
last modified time | relevance | path

Searched refs:char_rect (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/core/fpdfapi/page/
Dcpdf_textobject.cpp223 FX_RECT char_rect = pFont->GetCharBBox(charcode); in CalcPositionData() local
227 min_y, static_cast<float>(std::min(char_rect.top, char_rect.bottom))); in CalcPositionData()
229 max_y, static_cast<float>(std::max(char_rect.top, char_rect.bottom))); in CalcPositionData()
230 float char_left = curpos + char_rect.left * fontsize / 1000; in CalcPositionData()
231 float char_right = curpos + char_rect.right * fontsize / 1000; in CalcPositionData()
240 char_rect.left -= vx; in CalcPositionData()
241 char_rect.right -= vx; in CalcPositionData()
242 char_rect.top -= vy; in CalcPositionData()
243 char_rect.bottom -= vy; in CalcPositionData()
245 min_x, static_cast<float>(std::min(char_rect.left, char_rect.right))); in CalcPositionData()
[all …]
/external/pdfium/core/fpdfapi/font/
Dcpdf_type3char.cpp83 CFX_FloatRect char_rect; in Transform() local
85 char_rect = form()->CalcBoundingBox(); in Transform()
86 TextUnitRectToGlyphUnitRect(&char_rect); in Transform()
88 char_rect = CFX_FloatRect(m_BBox); in Transform()
91 m_BBox = matrix.TransformRect(char_rect).ToRoundedFxRect(); in Transform()