class CFont::TMeasureTextInput |
Input parameter block.
This is optionally used by CFont::MeasureText(), which is the powerful text measurement function underlying all the other text measurement functions.
Public Member Functions | |
---|---|
TMeasureTextInput() |
Public Member Enumerations | |
---|---|
enum | TFlags { EFVisualOrder = 1, EFVisualOrderRightToLeft = 2, EFIncludePenPositionInBoundsCheck = 4 } |
Flags for TMeasureTextInput::iFlags.
EFVisualOrder = 1 |
Input text is visually ordered left-to-right. |
EFVisualOrderRightToLeft = 2 |
Input text is visually ordered right-to-left. Overrides EFVisualOrder. |
EFIncludePenPositionInBoundsCheck = 4 |
Flag to consider side bearings when checking bounds for line-break |
TInt | iEndInputChar |
Index specifying the final input character.
Together with iStartInputChar, this allows some context before and after the measured text to be supplied so that shaping can work properly.
TInt | iStartInputChar |
Starting index specifying first input character in iText.
Together with iEndInputChar, this allows some context before and after the measured text to be supplied so that shaping can work properly.