Home
last modified time | relevance | path

Searched refs:textWidth (Results 1 – 1 of 1) sorted by relevance

/NW4C-2.0.3/sources/libraries/font/
Dfont_TextWriterBase.cpp606 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()
[all …]