uiacceltk/hitchcock/coretoolkit/inc/huicanvaspainter.h
branchRCL_3
changeset 8 10534483575f
parent 0 15bf7259bb7c
child 10 88b23e2e82e1
equal deleted inserted replaced
7:433cbbb6a04b 8:10534483575f
   292      * Returns reference to used canvas gc
   292      * Returns reference to used canvas gc
   293      */
   293      */
   294     virtual CHuiCanvasGc& CanvasGc() const = 0;
   294     virtual CHuiCanvasGc& CanvasGc() const = 0;
   295     
   295     
   296     /**
   296     /**
       
   297      * Clears capturing buffer area with completely transparent.
       
   298      * @param aRect rect to clear.
       
   299      */ 
       
   300     virtual void ClearCapturingBufferArea(const TRect& aRect);
       
   301     
       
   302     /**
   297      * Sets canvas visual that this painter draws into
   303      * Sets canvas visual that this painter draws into
   298      */
   304      */
   299     void SetVisual(CHuiCanvasVisual* aVisual);
   305     void SetVisual(CHuiCanvasVisual* aVisual);
   300 
   306 
   301     /**
   307     /**
   351 
   357 
   352     /**
   358     /**
   353      * Does this painter have command buffers older than given time.
   359      * Does this painter have command buffers older than given time.
   354      */
   360      */
   355     TBool HasOldCommandBuffers(TInt aLifeTimeInMs);
   361     TBool HasOldCommandBuffers(TInt aLifeTimeInMs);
       
   362     
       
   363     /**
       
   364      * Returns the area covered by buffers in the given orientation
       
   365      */
       
   366     TRect CommandBufferCoverage(TInt aOrientation);
   356 
   367 
   357     TInt NumBuffers() const { return iCommandBuffers.Count(); }
   368     TInt NumBuffers() const { return iCommandBuffers.Count(); }
   358     CHuiCanvasCommandBuffer *At(TInt aIndex) const { return iCommandBuffers[aIndex]; }
   369     CHuiCanvasCommandBuffer *At(TInt aIndex) const { return iCommandBuffers[aIndex]; }
   359 protected:
   370 protected:
   360 	
   371