#include <sprite.hxx>
Definition at line 36 of file sprite.hxx.
◆ ~Sprite()
virtual cppcanvas::Sprite::~Sprite |
( |
| ) |
|
|
inlinevirtual |
◆ hide()
virtual void cppcanvas::Sprite::hide |
( |
| ) |
|
|
pure virtual |
◆ move()
Set the sprite position on screen.
This method sets the sprite position in the view coordinate system of the parent canvas
Implemented in cppcanvas::internal::ImplSprite.
◆ movePixel()
Set the sprite position on screen.
This method differs from the XSprite::move() insofar, as no viewstate/renderstate transformations are applied to the specified position. The given position is interpreted in device coordinates (i.e. screen pixel)
Implemented in cppcanvas::internal::ImplSprite.
◆ setAlpha()
virtual void cppcanvas::Sprite::setAlpha |
( |
const double & |
rAlpha | ) |
|
|
pure virtual |
◆ setClip() [1/2]
virtual void cppcanvas::Sprite::setClip |
( |
| ) |
|
|
pure virtual |
◆ setClip() [2/2]
Set output clipping.
This method applies the clip poly-polygon interpreted in the view coordinate system of the parent canvas.
Implemented in cppcanvas::internal::ImplSprite.
◆ setClipPixel()
Set output clipping.
This method differs from the XSprite::clip() insofar, as no viewstate/renderstate transformations are applied to the specified clip polygon. The given polygon is interpreted in device coordinates (i.e. screen pixel)
Implemented in cppcanvas::internal::ImplSprite.
◆ setPriority()
virtual void cppcanvas::Sprite::setPriority |
( |
double |
fPriority | ) |
|
|
pure virtual |
Change the sprite priority.
- Parameters
-
fPriority | New sprite priority. The higher the priority, the further towards the viewer the sprite appears. That is, sprites with higher priority appear before ones with lower priority. |
Implemented in cppcanvas::internal::ImplSprite.
◆ show()
virtual void cppcanvas::Sprite::show |
( |
| ) |
|
|
pure virtual |
◆ transform()
The documentation for this class was generated from the following file: