Searched refs:charrect (Results 1 – 1 of 1) sorted by relevance
321 CFX_FloatRect charrect = charinfo.m_CharBox; in GetIndexAtPos() local322 if (charrect.Contains(point)) in GetIndexAtPos()326 charrect.Normalize(); in GetIndexAtPos()327 charRectExt.left = charrect.left - tolerance.width / 2; in GetIndexAtPos()328 charRectExt.right = charrect.right + tolerance.width / 2; in GetIndexAtPos()329 charRectExt.top = charrect.top + tolerance.height / 2; in GetIndexAtPos()330 charRectExt.bottom = charrect.bottom - tolerance.height / 2; in GetIndexAtPos()333 curXdif = fabs(point.x - charrect.left) < fabs(point.x - charrect.right) in GetIndexAtPos()334 ? fabs(point.x - charrect.left) in GetIndexAtPos()335 : fabs(point.x - charrect.right); in GetIndexAtPos()[all …]