LibreOffice Module canvas (master) 1
Public Member Functions | Protected Member Functions | List of all members
vclcanvas::Sprite Class Referenceabstract

Specialization of canvas::Sprite interface, to also provide redraw methods. More...

#include <sprite.hxx>

Inheritance diagram for vclcanvas::Sprite:
[legend]
Collaboration diagram for vclcanvas::Sprite:
[legend]

Public Member Functions

virtual void redraw (OutputDevice &rOutDev, bool bBufferedUpdate) const =0
 Redraw sprite at the stored position. More...
 
virtual void redraw (OutputDevice &rOutDev, const ::basegfx::B2DPoint &rPos, bool bBufferedUpdate) const =0
 Redraw sprite at the given position. More...
 
- Public Member Functions inherited from canvas::Sprite
virtual bool isAreaUpdateOpaque (const ::basegfx::B2DRange &rUpdateArea) const =0
 Query whether sprite update will fully cover the given area. More...
 
virtual bool isContentChanged () const =0
 Query whether content has changed. More...
 
virtual ::basegfx::B2DPoint getPosPixel () const =0
 Query position of the left, top pixel of the sprite. More...
 
virtual ::basegfx::B2DVector getSizePixel () const =0
 Query size of the sprite in pixel. More...
 
virtual ::basegfx::B2DRange getUpdateArea () const =0
 Get area that is currently covered by the sprite. More...
 
virtual double getPriority () const =0
 Query sprite priority. More...
 

Protected Member Functions

 ~Sprite ()
 
- Protected Member Functions inherited from canvas::Sprite
 ~Sprite ()
 

Additional Inherited Members

- Public Types inherited from canvas::Sprite
typedef ::rtl::Reference< SpriteReference
 

Detailed Description

Specialization of canvas::Sprite interface, to also provide redraw methods.

Definition at line 31 of file source/vcl/sprite.hxx.

Constructor & Destructor Documentation

◆ ~Sprite()

vclcanvas::Sprite::~Sprite ( )
inlineprotected

Definition at line 61 of file source/vcl/sprite.hxx.

Member Function Documentation

◆ redraw() [1/2]

virtual void vclcanvas::Sprite::redraw ( OutputDevice rOutDev,
bool  bBufferedUpdate 
) const
pure virtual

Redraw sprite at the stored position.

Parameters
bBufferedUpdateWhen true, the redraw does not happen directly on the front buffer, but within a VDev. Used to speed up drawing.

Referenced by vclcanvas::SpriteCanvasHelper::genericUpdate().

◆ redraw() [2/2]

virtual void vclcanvas::Sprite::redraw ( OutputDevice rOutDev,
const ::basegfx::B2DPoint rPos,
bool  bBufferedUpdate 
) const
pure virtual

Redraw sprite at the given position.

Parameters
rPosOutput position of the sprite. Overrides the sprite's own output position.
bBufferedUpdateWhen true, the redraw does not happen directly on the front buffer, but within a VDev. Used to speed up drawing.

The documentation for this class was generated from the following file: