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.cpp288 FX_RECT char_rect = pFont->GetCharBBox(charcode); in CalcPositionDataInternal() local
293 char_rect.Offset(-vertical_origin.x, -vertical_origin.y); in CalcPositionDataInternal()
295 min_x, static_cast<float>(std::min(char_rect.left, char_rect.right))); in CalcPositionDataInternal()
297 max_x, static_cast<float>(std::max(char_rect.left, char_rect.right))); in CalcPositionDataInternal()
298 const float char_top = curpos + char_rect.top * fontsize / 1000; in CalcPositionDataInternal()
299 const float char_bottom = curpos + char_rect.bottom * fontsize / 1000; in CalcPositionDataInternal()
305 min_y, static_cast<float>(std::min(char_rect.top, char_rect.bottom))); in CalcPositionDataInternal()
307 max_y, static_cast<float>(std::max(char_rect.top, char_rect.bottom))); in CalcPositionDataInternal()
308 const float char_left = curpos + char_rect.left * fontsize / 1000; in CalcPositionDataInternal()
309 const float char_right = curpos + char_rect.right * fontsize / 1000; in CalcPositionDataInternal()
/external/pdfium/core/fpdfapi/font/
Dcpdf_type3char.cpp70 CFX_FloatRect char_rect; in Transform() local
72 char_rect = pForm->CalcBoundingBox(); in Transform()
73 TextUnitRectToGlyphUnitRect(&char_rect); in Transform()
75 char_rect = CFX_FloatRect(m_BBox); in Transform()
78 m_BBox = matrix.TransformRect(char_rect).ToRoundedFxRect(); in Transform()