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

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

#include <dx_sprite.hxx>

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

Public Member Functions

virtual void redraw () const =0
 Redraw sprite using the hardware. 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 29 of file dx_sprite.hxx.

Constructor & Destructor Documentation

◆ ~Sprite()

dxcanvas::Sprite::~Sprite ( )
inlineprotected

Definition at line 41 of file dx_sprite.hxx.

Member Function Documentation

◆ redraw()

virtual void dxcanvas::Sprite::redraw ( ) const
pure virtual

Redraw sprite using the hardware.

This method will silently fail, if the previous restoreTextures() call failed.


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