class CShaper : public CBase |
Shaper abstract class. All shaper implementations derive from this
Public Member Functions | |
---|---|
CShaper() | |
~CShaper() | |
TInt | ConstructL(CBitmapFont *, TInt, TInt, RHeap *) |
IMPORT_C void * | ExtendedInterface(TUid) |
TInt | ShapeText(TShapeHeader *&, const TInput &, RHeap *) |
TInt | ConstructL | ( | CBitmapFont * | aBitmapFont, |
TInt | aScript, | |||
TInt | aLanguage, | |||
RHeap * | iHeap | |||
) | [pure virtual] |
construct a shaper object KErrNone if this font can be shaper or system wide error code
CBitmapFont * aBitmapFont | The font to be shaped. |
TInt aScript | |
TInt aLanguage | |
RHeap * iHeap |
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.
A pointer to the extension interface.
TUid aInterfaceId | The ID of the interface to return. |
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