svgtopt/gfx2d/inc/Gfx2dGcInterface.h
branchRCL_3
changeset 38 db5c883ad1c5
parent 0 d46562c3d99d
child 39 1902ade171ab
equal deleted inserted replaced
22:9be6eed35a80 38:db5c883ad1c5
    32 #include "GfxColor.h"
    32 #include "GfxColor.h"
    33 
    33 
    34 #include "SvgBitmapFontProvider.h"
    34 #include "SvgBitmapFontProvider.h"
    35 class MGfxShape;
    35 class MGfxShape;
    36 class MGfxPaint;
    36 class MGfxPaint;
       
    37 class CSvgtBitmap;
    37 
    38 
    38 typedef enum
    39 typedef enum
    39 {
    40 {
    40     SVG_CAP_BUTT                    = 0,
    41     SVG_CAP_BUTT                    = 0,
    41     SVG_CAP_ROUND                   = 1,
    42     SVG_CAP_ROUND                   = 1,
   345          * @param
   346          * @param
   346          * @return
   347          * @return
   347          */
   348          */
   348         virtual void UpdateFramebufferL( CFbsBitmap* aFrameBuffer, CFbsBitmap* aMask ) = 0;
   349         virtual void UpdateFramebufferL( CFbsBitmap* aFrameBuffer, CFbsBitmap* aMask ) = 0;
   349         virtual void UpdateFramebufferL( CFbsBitmap* aFrameBuffer, CFbsBitmap* aMask,TSize aFrameBufferSize,TDisplayMode aFrameBufferMode,TDisplayMode aMaskDspMode ) =0;
   350         virtual void UpdateFramebufferL( CFbsBitmap* aFrameBuffer, CFbsBitmap* aMask,TSize aFrameBufferSize,TDisplayMode aFrameBufferMode,TDisplayMode aMaskDspMode ) =0;
       
   351 
       
   352         
       
   353         virtual void UpdateFramebufferL( CSvgtBitmap* /*aFrameBuffer*/, CSvgtBitmap* /*aMask*/ ){}
       
   354         virtual void UpdateFramebufferL( CSvgtBitmap* /*aFrameBuffer*/, CSvgtBitmap* /*aMask*/,TSize /*aFrameBufferSize*/,TDisplayMode /*aFrameBufferMode*/,TDisplayMode /*aMaskDspMode*/ ){}
   350         /**
   355         /**
   351          * Blend aFrameBuffer with background buffer using the opacity value
   356          * Blend aFrameBuffer with background buffer using the opacity value
   352          *
   357          *
   353          * @since 1.0
   358          * @since 1.0
   354          * @param aFrameBuffer: Buffer to be blended with background
   359          * @param aFrameBuffer: Buffer to be blended with background
   363           * @since
   368           * @since
   364           * @param aMask: pointer to the mask
   369           * @param aMask: pointer to the mask
   365           * @return
   370           * @return
   366           */
   371           */
   367 		virtual void GenerateMask(CFbsBitmap* aMask)=0;
   372 		virtual void GenerateMask(CFbsBitmap* aMask)=0;
       
   373         virtual void GenerateMask(CSvgtBitmap* /*aMask*/){};
   368 
   374 
   369 		  /**
   375 		  /**
   370          * Set the fill opacity value
   376          * Set the fill opacity value
   371         *
   377         *
   372          * @since 1.0
   378          * @since 1.0