Searched refs:char_rect (Results 1 – 2 of 2) sorted by relevance
283 FX_RECT char_rect = pFont->GetCharBBox(charcode); in CalcPositionData() local287 min_y, static_cast<float>(std::min(char_rect.top, char_rect.bottom))); in CalcPositionData()289 max_y, static_cast<float>(std::max(char_rect.top, char_rect.bottom))); in CalcPositionData()290 float char_left = curpos + char_rect.left * fontsize / 1000; in CalcPositionData()291 float char_right = curpos + char_rect.right * fontsize / 1000; in CalcPositionData()300 char_rect.left -= vx; in CalcPositionData()301 char_rect.right -= vx; in CalcPositionData()302 char_rect.top -= vy; in CalcPositionData()303 char_rect.bottom -= vy; in CalcPositionData()305 min_x, static_cast<float>(std::min(char_rect.left, char_rect.right))); in CalcPositionData()[all …]
70 CFX_FloatRect char_rect; in Transform() local72 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()