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 &)

voidConstructL(CFbsBitmap &aThumbnailBitmap,
CFbsBitmap &aThumbnailBitmapMask
)[private]

Second Phase constructor.

Parameters

CFbsBitmap & aThumbnailBitmapClient provided bitmap to render the SVGT contents opening screen.
CFbsBitmap & aThumbnailBitmapMaskBitmap - 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 & aUriDescriptor 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 TBoolGenerateThumbnailLD(RFile &aFileHandle,
CFbsBitmap &aThumbnailBitmap,
CFbsBitmap &aThumbnailBitmapMask
)[static]
Generate thumbnails for SVGT content.
Since
3.0

Parameters

RFile & aFileHandleFile Handle to the SVGT file.
CFbsBitmap & aThumbnailBitmapBitmap - Client provided bitmap mask.
CFbsBitmap & aThumbnailBitmapMask

GetSmilFitValue(TDes &)

voidGetSmilFitValue(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 & aSmilValueDescriptor containing the SMIL Fit attribute.

InitializeEngineL()

voidInitializeEngineL()
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 & aFileHandlefile handle to the SVGT file.
CFbsBitmap & aThumbnailBitmapBitmap - Client provided bitmap to render the SVGT contents opening screen.
CFbsBitmap & aThumbnailBitmapMaskBitmap - 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 & aFileHandlefile handle to the SVGT file.
CFbsBitmap & aThumbnailBitmapClient provided bitmap to render the SVGT contents opening screen.
CFbsBitmap & aThumbnailBitmapMaskBitmap - 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 & aScriptDescriptor containing script
CSvgElementImpl * aCallerElementSVG Element that calls the script by a an event of the "on" attribute.

UpdatePresentation(const TInt32 &)

voidUpdatePresentation(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 & aNoOfAnimationInteger. When called for the first time it indicates total number of animations. Subsequently it contains number of animations that were completed.

UpdateScreen()

voidUpdateScreen()[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]