Searched refs:char_rect (Results 1 – 2 of 2) sorted by relevance
376 FX_RECT char_rect; in GetCharRect() local377 pFont->GetCharBBox(charcode, char_rect, 0); in GetCharRect()379 rect.left = curpos + char_rect.left * fontsize; in GetCharRect()380 rect.right = curpos + char_rect.right * fontsize; in GetCharRect()381 rect.top = char_rect.top * fontsize; in GetCharRect()382 rect.bottom = char_rect.bottom * fontsize; in GetCharRect()387 char_rect.left -= vx; in GetCharRect()388 char_rect.right -= vx; in GetCharRect()389 char_rect.top -= vy; in GetCharRect()390 char_rect.bottom -= vy; in GetCharRect()[all …]
1708 CFX_FloatRect char_rect((FX_FLOAT)rcBBox.left / 1000.0f, (FX_FLOAT)rcBBox.bottom / 1000.0f, in LoadChar() local1711 char_rect = pChar->m_pForm->CalcBoundingBox(); in LoadChar()1713 char_rect.Transform(&m_FontMatrix); in LoadChar()1714 rcBBox.left = FXSYS_round(char_rect.left * 1000); in LoadChar()1715 rcBBox.right = FXSYS_round(char_rect.right * 1000); in LoadChar()1716 rcBBox.top = FXSYS_round(char_rect.top * 1000); in LoadChar()1717 rcBBox.bottom = FXSYS_round(char_rect.bottom * 1000); in LoadChar()