Lines Matching refs:textWidth
604 f32 textWidth = AdjustCursor(&xOrigin, &yOrigin, str, length); in PrintImpl() local
665 const f32 offset = AdjustCenterValue(textWidth) - AdjustCenterValue(width); in PrintImpl()
672 const f32 offset = textWidth - width; in PrintImpl()
679 textWidth = math::Max(textWidth, width); in PrintImpl()
774 textWidth = math::Max(textWidth, width); in PrintImpl()
790 return textWidth; in PrintImpl()
802 f32 textWidth = 0; in AdjustCursor() local
816 textWidth = textRect.left + textRect.right; in AdjustCursor()
825 *pXOrigin -= AdjustCenterValue(textWidth); in AdjustCursor()
829 *pXOrigin -= textWidth; in AdjustCursor()
848 const f32 offset = AdjustCenterValue(textWidth) - AdjustCenterValue(width); in AdjustCursor()
854 const f32 offset = textWidth - width; in AdjustCursor()
875 return textWidth; in AdjustCursor()