CShaperFactory Class Reference

#include <openfont.h>

class CShaperFactory : public CBase

Inherits from

  • CShaperFactory

    Detailed Description

    ECOM plug-in base class for shaper factories.

    Constructor & Destructor Documentation

    ~CShaperFactory ( )

    ~CShaperFactory()[inline, virtual]

    Default destructor

    Member Function 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.

    ParameterDescription
    aInterfaceIdThe ID of the interface to return.

    Returns: A pointer to the extension interface.

    NewL ( TUid )

    CShaperFactory *NewL(TUidaInterfaceImplUid)[static, inline]

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

    ParameterDescription
    aInterfaceImplUidThe UID of the interface implementation required

    Returns: CShaperFactory* A pointer to a CShaperFactory object.

    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.

    ParameterDescription
    aFontThe font to be shaped.
    iHeapThe 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.