CFont::TMeasureTextInput Class Reference

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.

CFont::MeasureText()

Constructor & Destructor Documentation

TMeasureTextInput()

TMeasureTextInput()[inline]

Member Enumerations Documentation

Enum TFlags

Enumerators

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

Member Data Documentation

TInt iCharJustExcess

TInt iCharJustExcess

The amount of space to be used for letter spacing.

TInt iCharJustNum

TInt iCharJustNum

The number of glyph groups to be letter-spaced.

TUint16 iDirection

TUint16 iDirection

The direction in which to draw the text.

TInt iEndInputChar

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.

TUint16 iFlags

TUint16 iFlags

Flags from TFlags.

TInt iMaxAdvance

TInt iMaxAdvance

The maximum advance.

TInt iMaxBounds

TInt iMaxBounds

The maximum width (or height if drawing vertically) of bounds.

TInt iStartInputChar

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.

TInt iWordJustExcess

TInt iWordJustExcess

The amount of space to be used for word spacing.

TInt iWordJustNum

TInt iWordJustNum

The number of spaces to be used for word spacing.