CShaperFactory Class Reference

class CShaperFactory : public CBase

ECOM plug-in base class for shaper factories.

Inherits from

Constructor & Destructor Documentation

~CShaperFactory()

~CShaperFactory()[inline, virtual]

Default destructor

Member Functions Documentation

ExtendedInterface(TUid)

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.

NewL(TUid)

CShaperFactory *NewL(TUidaInterfaceImplUid)[static, inline]

Uses ECOM plug-in framework to instantiate the shaper factory interface implementation given its implementation UID.

CShaperFactory* A pointer to a CShaperFactory object.

Parameters

TUid aInterfaceImplUidThe UID of the interface implementation required

NewShaperL(CBitmapFont *, TInt, TInt, RHeap *)

CShaper *NewShaperL(CBitmapFont *aFont,
TIntaScript,
TIntaLanguage,
RHeap *iHeap
)[pure virtual]

Create a shaper if possible, for typeface aFaceIndex within file aFileName. 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.

Parameters

CBitmapFont * aFontThe font to be shaped.
TInt aScript
TInt aLanguage
RHeap * iHeapThe heap to use for constructing the shaper.

Member Data Documentation

TUid iDtor_ID_Key

TUid iDtor_ID_Key[private]