CFont::TPositionParam Class Reference

class CFont::TPositionParam

Complicated parameter block used for contextual glyph selection, ligature creation and diacritic placement when drawing text in complex scripts

This class declares a constructor, another scoped class, and several other enums. However this class is unlikely to be useful to third party developers.

CFont::GetCharacterPosition()

CFont::GetCharacterPosition2()

Nested Classes and Structures

Public Member Functions
TPositionParam()
Public Member Enumerations
enumanonymous { EMaxInputChars = 18, EMaxOutputGlyphs = 8 }
enumTFlags { EFLogicalOrder = 1 }
Public Attributes
TInt16 iDirection
TUint16 iFlags
TOutput iOutput
TInt iOutputGlyphs
TPoint iPen
TInt iPosInText
TPtrC iText

Constructor & Destructor Documentation

TPositionParam()

TPositionParam()[inline]

Standard constructor.

Member Enumerations Documentation

Enum anonymous

Enumerators

EMaxInputChars = 18
EMaxOutputGlyphs = 8

Enum TFlags

Enumerators

EFLogicalOrder = 1

Input text is logically ordered not visually ordered.

Member Data Documentation

TInt16 iDirection

TInt16 iDirection

Input: Orientation (EHorizontal or EVertical) in which to draw the text.

TUint16 iFlags

TUint16 iFlags

Input: Flags from TFlags.

TOutput iOutput

TOutput iOutput

Information about the glyphs that were output.

TInt iOutputGlyphs

TInt iOutputGlyphs

Number of glyphs actually output.

TPoint iPen

TPoint iPen

Input and output: Pen position.

TInt iPosInText

TInt iPosInText

Input and output: Position within iText to shape. On exit it will index the first character not positioned

TPtrC iText

TPtrC iText

Input: Text containing the characters to be positioned.