Original Symbian headers
Selected EUSER, Window Server, networking, graphics and device declarations
Loading...
Searching...
No Matches
CFont::TPositionParam Class Reference

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

#include <gdi.h>

Classes

class  TOutput
 Output of GetCharacterPosition and GetCharacterPosition2. More...
 

Public Types

enum  { EMaxInputChars = 18 , EMaxOutputGlyphs = 8 }
 
enum  TFlags { EFLogicalOrder = 1 }
 Flags for TPositionParam::iFlags. More...
 

Public Member Functions

 TPositionParam ()
 Standard constructor.
 

Public Attributes

TInt16 iDirection
 Input: Orientation (EHorizontal or EVertical) in which to draw the text.
 
TUint16 iFlags
 Input: Flags from TFlags.
 
TPtrC iText
 Input: Text containing the characters to be positioned.
 
TInt iPosInText
 Input and output: Position within iText to shape.
 
TPoint iPen
 Input and output: Pen position.
 
TOutput iOutput [EMaxOutputGlyphs]
 Information about the glyphs that were output.
 
TInt iOutputGlyphs
 Number of glyphs actually output.
 

Detailed Description

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.

See also
CFont::GetCharacterPosition()
CFont::GetCharacterPosition2()
API status
Published to all clients. Released API.

Definition at line 1381 of file gdi.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
EMaxInputChars 
EMaxOutputGlyphs 

Definition at line 1393 of file gdi.h.

◆ TFlags

Flags for TPositionParam::iFlags.

Enumerator
EFLogicalOrder 

Input text is logically ordered not visually ordered.

Definition at line 1400 of file gdi.h.

Constructor & Destructor Documentation

◆ TPositionParam()

CFont::TPositionParam::TPositionParam ( )
inline

Standard constructor.

Definition at line 1385 of file gdi.h.

Member Data Documentation

◆ iDirection

TInt16 CFont::TPositionParam::iDirection

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

Definition at line 1408 of file gdi.h.

◆ iFlags

TUint16 CFont::TPositionParam::iFlags

Input: Flags from TFlags.

Definition at line 1410 of file gdi.h.

◆ iOutput

TOutput CFont::TPositionParam::iOutput[EMaxOutputGlyphs]

Information about the glyphs that were output.

Definition at line 1446 of file gdi.h.

◆ iOutputGlyphs

TInt CFont::TPositionParam::iOutputGlyphs

Number of glyphs actually output.

Definition at line 1448 of file gdi.h.

◆ iPen

TPoint CFont::TPositionParam::iPen

Input and output: Pen position.

Definition at line 1418 of file gdi.h.

◆ iPosInText

TInt CFont::TPositionParam::iPosInText

Input and output: Position within iText to shape.

On exit it will index the first character not positioned

Definition at line 1416 of file gdi.h.

◆ iText

TPtrC CFont::TPositionParam::iText

Input: Text containing the characters to be positioned.

Definition at line 1412 of file gdi.h.


The documentation for this class was generated from the following file: