Searched refs:charrect (Results 1 – 1 of 1) sorted by relevance
370 CFX_FloatRect charrect = orig_charrect; in GetIndexAtPos() local371 charrect.Normalize(); in GetIndexAtPos()372 CFX_FloatRect char_rect_ext(charrect.left - tolerance.width / 2, in GetIndexAtPos()373 charrect.bottom - tolerance.height / 2, in GetIndexAtPos()374 charrect.right + tolerance.width / 2, in GetIndexAtPos()375 charrect.top + tolerance.height / 2); in GetIndexAtPos()380 std::min(fabs(point.x - charrect.left), fabs(point.x - charrect.right)); in GetIndexAtPos()382 std::min(fabs(point.y - charrect.bottom), fabs(point.y - charrect.top)); in GetIndexAtPos()