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_C CShaper ( )

Constructor

~CShaper()

IMPORT_C ~CShaper ( ) [virtual]

Destructor

Member Functions Documentation

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

TInt ConstructL ( CBitmapFont * aBitmapFont,
TInt aScript,
TInt aLanguage,
RHeap * iHeap
) [pure virtual]

construct a shaper object

Parameters

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

ExtendedInterface(TUid)

IMPORT_C void * ExtendedInterface ( TUid aInterfaceId ) [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.

Parameters

TUid aInterfaceId The 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. TShapeHeader

Parameters

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