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
Constructor & Destructor Documentation
CSVGTThumbnailUtil(RFile &)
CSVGTThumbnailUtil | ( | RFile & | aFileHandle | ) | [private] |
~CSVGTThumbnailUtil()
~CSVGTThumbnailUtil | ( | ) | [private, virtual] |
Member Functions Documentation
ConstructL(CFbsBitmap &, CFbsBitmap &)
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 &)
FetchImage(const TDesC &, RFs &, RFile &)
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 &)
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()
This function is called to initialize the SVGT-Engine interface.
- Since
- 3.0
NewL(RFile &, CFbsBitmap &, CFbsBitmap &)
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 &)
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] |
Member Data Documentation
RFile & iContentFileHandle
RFile & | iContentFileHandle | [private] |
CFbsBitmap * iSVGTBitMapDummy
CSvgEngineInterfaceImpl * iSvgModule
CFbsBitmap * iThumbnailBitmap
CFbsBitmap * iThumbnailBitmapMask
TInt
iThumbnailHandle
TInt
| iThumbnailHandle | [private] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.