CFont::TMeasureTextInput Class Reference

#include <gdi.h>

class CFont::TMeasureTextInput

Detailed Description

Input parameter block.

This is optionally used by CFont::MeasureText(), which is the powerful text measurement function underlying all the other text measurement functions.

See also: CFont::MeasureText()

Member Attribute Documentation

iCharJustExcess

TInt iCharJustExcess

The amount of space to be used for letter spacing.

iCharJustNum

TInt iCharJustNum

The number of glyph groups to be letter-spaced.

iDirection

TUint16 iDirection

The direction in which to draw the text.

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.

iFlags

TUint16 iFlags

Flags from TFlags.

iMaxAdvance

TInt iMaxAdvance

The maximum advance.

iMaxBounds

TInt iMaxBounds

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

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.

iWordJustExcess

TInt iWordJustExcess

The amount of space to be used for word spacing.

iWordJustNum

TInt iWordJustNum

The number of spaces to be used for word spacing.

Member Enumeration Documentation

Enum TFlags

EnumeratorValueDescription
EFVisualOrder1

Input text is visually ordered left-to-right.

EFVisualOrderRightToLeft2

Input text is visually ordered right-to-left. Overrides EFVisualOrder.

EFIncludePenPositionInBoundsCheck4

Flag to consider side bearings when checking bounds for line-break

Constructor & Destructor Documentation

TMeasureTextInput ( )

TMeasureTextInput()[inline]