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