#include <openfont.h>
| class CShaperFactory : public CBase |
| Public Member Functions | |
|---|---|
| virtual | ~CShaperFactory() |
| virtual void * | ExtendedInterface(TUid) |
| CShaperFactory * | NewL(TUid) |
| pure virtual CShaper * | NewShaperL(CBitmapFont *, TInt, TInt, RHeap *) |
ECOM plug-in base class for shaper factories.
| 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.
| Parameter | Description |
|---|---|
| aInterfaceId | The ID of the interface to return. |
Returns: A pointer to the extension interface.
| CShaperFactory * | NewL | ( | TUid | aInterfaceImplUid | ) | [static, inline] |
Uses ECOM plug-in framework to instantiate the shaper factory interface implementation given its implementation UID.
| Parameter | Description |
|---|---|
| aInterfaceImplUid | The UID of the interface implementation required |
Returns: CShaperFactory* A pointer to a CShaperFactory object.
| CShaper * | NewShaperL | ( | CBitmapFont * | aFont, |
| TInt | aScript, | |||
| TInt | aLanguage, | |||
| RHeap * | iHeap | |||
| ) | [pure virtual] | |||
Create a shaper if possible, for typeface aFaceIndex within file aFileName.
| Parameter | Description |
|---|---|
| aFont | The font to be shaped. |
| iHeap | The heap to use for constructing the shaper. |
Returns: 0 If the font is not understood or inappropriate for any shaper that might be constructed by this class, otherwise returns the newly-constructed shaper on iHeap.