equal
deleted
inserted
replaced
66 |
66 |
67 // temporary for debugging |
67 // temporary for debugging |
68 class CSvgTimer; |
68 class CSvgTimer; |
69 // temporary for debugging |
69 // temporary for debugging |
70 |
70 |
|
71 class CSvgtBitmap; |
71 //This includes the main rendering loop. |
72 //This includes the main rendering loop. |
72 |
73 |
73 /** |
74 /** |
74 * Class description goes here. |
75 * Class description goes here. |
75 * |
76 * |
325 * @param |
326 * @param |
326 * @return |
327 * @return |
327 */ |
328 */ |
328 void GenerateMask( CFbsBitmap* aMask ); |
329 void GenerateMask( CFbsBitmap* aMask ); |
329 |
330 |
|
331 void GenerateMask(CSvgtBitmap* aMask); |
|
332 |
330 /** |
333 /** |
331 * Set background color |
334 * Set background color |
332 * |
335 * |
333 * @since |
336 * @since |
334 * @param |
337 * @param |
363 * @return |
366 * @return |
364 */ |
367 */ |
365 void SetGdiContextL(CFbsBitmap* aCurrentBitmap, CFbsBitmap* aMask = NULL); |
368 void SetGdiContextL(CFbsBitmap* aCurrentBitmap, CFbsBitmap* aMask = NULL); |
366 |
369 |
367 void SetGdiContextL(CFbsBitmap* aCurrentBitmap, CFbsBitmap* aMask,TSize aCurrentBitmapSize,TDisplayMode aRenderDspMode,TDisplayMode aMaskDspMode); |
370 void SetGdiContextL(CFbsBitmap* aCurrentBitmap, CFbsBitmap* aMask,TSize aCurrentBitmapSize,TDisplayMode aRenderDspMode,TDisplayMode aMaskDspMode); |
|
371 |
|
372 void SetGdiContextL(CSvgtBitmap* aCurrentBitmap, CSvgtBitmap* aMask = NULL); |
|
373 |
368 /** |
374 /** |
369 * Start the Engine so that the first frame is drawn when the call is finished. |
375 * Start the Engine so that the first frame is drawn when the call is finished. |
370 * |
376 * |
371 * |
377 * |
372 * @param : aError |
378 * @param : aError |
609 */ |
615 */ |
610 void SetAudioVolume( TInt aPercentage ); |
616 void SetAudioVolume( TInt aPercentage ); |
611 TBool IsSVGEnginePaused(); |
617 TBool IsSVGEnginePaused(); |
612 |
618 |
613 void SetBitmapHeader(const TDesC* aHeaderData); |
619 void SetBitmapHeader(const TDesC* aHeaderData); |
|
620 |
|
621 void EnableTargetRendering(TBool aTargetRendering ); |
|
622 TBool IsTargetRenderingEnabled() const; |
|
623 |
614 public: // Functions from base classes |
624 public: // Functions from base classes |
615 // From CSvgElementImpl |
625 // From CSvgElementImpl |
616 /** |
626 /** |
617 * Process various events received by the client for the SVG image |
627 * Process various events received by the client for the SVG image |
618 * |
628 * |
914 CSvgTimer* iTimer; |
924 CSvgTimer* iTimer; |
915 MSvgRequestObserver* iRequestObserver; |
925 MSvgRequestObserver* iRequestObserver; |
916 |
926 |
917 CFbsBitmap* iFrameBuffer; |
927 CFbsBitmap* iFrameBuffer; |
918 CFbsBitmap* iMask; |
928 CFbsBitmap* iMask; |
919 |
929 |
920 TSize iFrameBufferSize; //NGA |
930 TSize iFrameBufferSize; //NGA |
921 TDisplayMode iRenderDspMode; |
931 TDisplayMode iRenderDspMode; |
922 TDisplayMode iMaskDspMode; |
932 TDisplayMode iMaskDspMode; |
923 TFontSpec iBitmapFontSpec; |
933 TFontSpec iBitmapFontSpec; |
924 CSvgFontHashMap* iFontHashMap; |
934 CSvgFontHashMap* iFontHashMap; |
929 TPtrC iLinkUri; |
939 TPtrC iLinkUri; |
930 TUint32 iBackgroundColor; |
940 TUint32 iBackgroundColor; |
931 TPtrC iLinkShow; |
941 TPtrC iLinkShow; |
932 TBool iShowDebugInfo; |
942 TBool iShowDebugInfo; |
933 |
943 |
|
944 //M2G: target bitmap buffer and mask buffer |
|
945 CSvgtBitmap* iTargetBitmapBuffer; |
|
946 CSvgtBitmap* iTargetMaskBuffer; |
|
947 |
934 TGfxRectangle2D iClipRect; |
948 TGfxRectangle2D iClipRect; |
935 TSvgEngineState iSvgEngineState; |
949 TSvgEngineState iSvgEngineState; |
936 TAnimStatus iAnimationState; |
950 TAnimStatus iAnimationState; |
937 TBufC<1> NullString; |
951 TBufC<1> NullString; |
938 CSvgErrorImpl* iSvgError; |
952 CSvgErrorImpl* iSvgError; |
958 TUint iTimeoutSeconds; |
972 TUint iTimeoutSeconds; |
959 TInt iRenderQuality; // Rendering Quality |
973 TInt iRenderQuality; // Rendering Quality |
960 |
974 |
961 //Stores Font Type information as passed by CSvgEngineInterfaceImpl |
975 //Stores Font Type information as passed by CSvgEngineInterfaceImpl |
962 CSvgBitmapFontProvider *iSvgBitmapFontProvider; |
976 CSvgBitmapFontProvider *iSvgBitmapFontProvider; |
|
977 TBool iIsTargetRenderingEnabled; |
963 public: |
978 public: |
964 TBool iCustomOption; |
979 TBool iCustomOption; |
965 TBool iFrameBufferOverridesViewport; |
980 TBool iFrameBufferOverridesViewport; |
966 TBool iClientDefinedViewPort; |
981 TBool iClientDefinedViewPort; |
967 CDesC16ArrayFlat* iSvgNames; |
982 CDesC16ArrayFlat* iSvgNames; |