Lines Matching refs:textWidth
606 f32 textWidth = AdjustCursor(&xOrigin, &yOrigin, str, length); in PrintImpl() local
667 const f32 offset = AdjustCenterValue(textWidth) - AdjustCenterValue(width); in PrintImpl()
674 const f32 offset = textWidth - width; in PrintImpl()
681 textWidth = math::Max(textWidth, width); in PrintImpl()
776 textWidth = math::Max(textWidth, width); in PrintImpl()
792 return textWidth; in PrintImpl()
804 f32 textWidth = 0; in AdjustCursor() local
818 textWidth = textRect.left + textRect.right; in AdjustCursor()
827 *pXOrigin -= AdjustCenterValue(textWidth); in AdjustCursor()
831 *pXOrigin -= textWidth; in AdjustCursor()
850 const f32 offset = AdjustCenterValue(textWidth) - AdjustCenterValue(width); in AdjustCursor()
856 const f32 offset = textWidth - width; in AdjustCursor()
877 return textWidth; in AdjustCursor()