CShaper Class Reference

class CShaper : public CBase

Shaper abstract class. All shaper implementations derive from this

Inherits from

Nested Classes and Structures

Constructor & Destructor Documentation

CShaper()

IMPORT_CCShaper()

Constructor

~CShaper()

IMPORT_C~CShaper()[virtual]

Destructor

Member Functions Documentation

ConstructL(CBitmapFont *, TInt, TInt, RHeap *)

TInt ConstructL(CBitmapFont *aBitmapFont,
TIntaScript,
TIntaLanguage,
RHeap *iHeap
)[pure virtual]

construct a shaper object KErrNone if this font can be shaper or system wide error code

Parameters

CBitmapFont * aBitmapFontThe font to be shaped.
TInt aScript
TInt aLanguage
RHeap * iHeap

ExtendedInterface(TUid)

IMPORT_C void *ExtendedInterface(TUidaInterfaceId)[virtual]

For future expansion. Any overriders must base-call if aInterface is unrecognized.

WARNING: Function for internal use ONLY. Compatibility is not guaranteed in future releases.

A pointer to the extension interface.

Parameters

TUid aInterfaceIdThe ID of the interface to return.

ShapeText(TShapeHeader *&, const TInput &, RHeap *)

TInt ShapeText(TShapeHeader *&aOutput,
const TInput &aInput,
RHeap *aHeapForOutput
)[pure virtual]

If possible, shape the text described by aInput, placing the output on aHeapForOutput. Error value from one of the system-wide error codes on failure, KErrNone on success.

TShapeHeader

Parameters

TShapeHeader *& aOutputThe output, as a newly allocate object on aHeapForOutput.
const TInput & aInputThe input text and other parameters.
RHeap * aHeapForOutputOn success, aOutput should be allocated from this and nothing else. On failure, nothing should be allocated from it.