CSVGTThumbnailUtil Class Reference

class CSVGTThumbnailUtil : public CBase

CSVGTThumbnailUtil is a utility class used to generate thumbnails. It is used through dialog provided by CSVGTUIDialog.

SVGTUIControl.lib
Since
3.0

Inherits from

Constructor & Destructor Documentation

CSVGTThumbnailUtil(RFile &)

CSVGTThumbnailUtil ( RFile & aFileHandle ) [private]

C++ default constructor.

Parameters

RFile & aFileHandle

~CSVGTThumbnailUtil()

~CSVGTThumbnailUtil ( ) [private, virtual]

Destructor.

Member Functions Documentation

ConstructL(CFbsBitmap &, CFbsBitmap &)

void ConstructL ( CFbsBitmap & aThumbnailBitmap,
CFbsBitmap & aThumbnailBitmapMask
) [private]

Second Phase constructor.

Parameters

CFbsBitmap & aThumbnailBitmap Client provided bitmap to render the SVGT contents opening screen.
CFbsBitmap & aThumbnailBitmapMask Bitmap - Client provided bitmap for SVGT bitmap mask.

FetchFont(const TDesC &, RFs &, RFile &)

TInt FetchFont ( const TDesC & ,
RFs & ,
RFile &
) [protected]

Parameters

const TDesC &
RFs &
RFile &

FetchImage(const TDesC &, RFs &, RFile &)

TInt FetchImage ( const TDesC & aUri,
RFs & aSession,
RFile & aFileHandle
) [protected]
From MSvgRequestObserver This method is called by the SVG engine to retrieve the absolute path of the image file.
Since
3.0

Parameters

const TDesC & aUri Descriptor containing the relative path of the image.
RFs & aSession
RFile & aFileHandle

GenerateThumbnail()

TBool GenerateThumbnail ( )
Generates Thumbnail of initial screen of SVG content.
Since
3.0

GenerateThumbnailLD(RFile &, CFbsBitmap &, CFbsBitmap &)

IMPORT_C TBool GenerateThumbnailLD ( RFile & aFileHandle,
CFbsBitmap & aThumbnailBitmap,
CFbsBitmap & aThumbnailBitmapMask
) [static]
Generate thumbnails for SVGT content.
Since
3.0

Parameters

RFile & aFileHandle File Handle to the SVGT file.
CFbsBitmap & aThumbnailBitmap Bitmap - Client provided bitmap mask.
CFbsBitmap & aThumbnailBitmapMask

GetSmilFitValue(TDes &)

void GetSmilFitValue ( TDes & aSmilValue ) [protected]
From MSvgRequestObserver This method is called by the SVG engine to get the SMIL Fit attribute value.
Since
3.0

Parameters

TDes & aSmilValue Descriptor containing the SMIL Fit attribute.

InitializeEngineL()

void InitializeEngineL ( )
This function is called to initialize the SVGT-Engine interface.
Since
3.0

NewL(RFile &, CFbsBitmap &, CFbsBitmap &)

CSVGTThumbnailUtil * NewL ( RFile & aFileHandle,
CFbsBitmap & aThumbnailBitmap,
CFbsBitmap & aThumbnailBitmapMask
) [private, static]
Two-phased constructor for thumbnail creation.
Since
3.0

Parameters

RFile & aFileHandle file handle to the SVGT file.
CFbsBitmap & aThumbnailBitmap Bitmap - Client provided bitmap to render the SVGT contents opening screen.
CFbsBitmap & aThumbnailBitmapMask Bitmap - Client provided bitmap for SVGT bitmap mask.

NewLC(RFile &, CFbsBitmap &, CFbsBitmap &)

CSVGTThumbnailUtil * NewLC ( RFile & aFileHandle,
CFbsBitmap & aThumbnailBitmap,
CFbsBitmap & aThumbnailBitmapMask
) [private, static]
Two-phased constructor for thumbnail creation that pushes the object on the cleanup stack.
Since
3.0

Parameters

RFile & aFileHandle file handle to the SVGT file.
CFbsBitmap & aThumbnailBitmap Client provided bitmap to render the SVGT contents opening screen.
CFbsBitmap & aThumbnailBitmapMask Bitmap - Client provided bitmap for SVGT bitmap mask.

ScriptCall(const TDesC &, CSvgElementImpl *)

TBool ScriptCall ( const TDesC & aScript,
CSvgElementImpl * aCallerElement
) [protected]
From MSvgRequestObserver This method is for future extension, in which an external script engine could be used to evaluate a script description.
Since
3.0

Parameters

const TDesC & aScript Descriptor containing script
CSvgElementImpl * aCallerElement SVG Element that calls the script by a an event of the "on" attribute.

UpdatePresentation(const TInt32 &)

void UpdatePresentation ( const TInt32 & aNoOfAnimation ) [protected]
From MSvgRequestObserver This method is called by the SVG engine to update the presentation status.
Since
3.0

Parameters

const TInt32 & aNoOfAnimation Integer. When called for the first time it indicates total number of animations. Subsequently it contains number of animations that were completed.

UpdateScreen()

void UpdateScreen ( ) [protected]
From MSvgRequestObserver Method called by SVG Engine after it has rendered a frame.
Since
3.0

Member Data Documentation

RFile & iContentFileHandle

RFile & iContentFileHandle [private]

CFbsBitmap * iSVGTBitMapDummy

CFbsBitmap * iSVGTBitMapDummy [private]

CSvgEngineInterfaceImpl * iSvgModule

CSvgEngineInterfaceImpl * iSvgModule [private]

CFbsBitmap * iThumbnailBitmap

CFbsBitmap * iThumbnailBitmap [private]

CFbsBitmap * iThumbnailBitmapMask

CFbsBitmap * iThumbnailBitmapMask [private]

TInt iThumbnailHandle

TInt iThumbnailHandle [private]