![]() |
Public API Reference |
#include <csanim2d.h>
Inheritance diagram for csAnimatedPixmap:
Public Methods | |
csAnimatedPixmap (csAnimationTemplate *tpl) | |
create an animated pixmap. More... | |
virtual | ~csAnimatedPixmap () |
destroy this object. More... | |
virtual int | Width () |
return current width of this pixmap. More... | |
virtual int | Height () |
return current height of this pixmap. More... | |
virtual iTextureHandle * | GetTextureHandle () |
return current texture handle. More... | |
virtual void | DrawScaled (iGraphics3D *g3d, int sx, int sy, int sw, int sh, uint8 Alpha=0) |
Draw the pixmap given the screen position and new size. More... | |
virtual void | DrawTiled (iGraphics3D *g3d, int sx, int sy, int sw, int sh, int orgx, int orgy, uint8 Alpha=0) |
Draw the pixmap tiled over an area. More... | |
virtual void | Advance (csTicks ElapsedTime) |
advance in time. More... |
Definition at line 77 of file csanim2d.h.
|
create an animated pixmap.
|
|
destroy this object.
|
|
advance in time.
Implements csPixmap. |
|
Draw the pixmap given the screen position and new size.
Implements csPixmap. |
|
Draw the pixmap tiled over an area. multiple draw commands with the same texture and same origin values will align properly. The orgx and orgy point to a pixel (perhaps offscreen) where the (0,0) pixel of this pixmap would be drawn. Implements csPixmap. |
|
return current texture handle.
Implements csPixmap. |
|
return current height of this pixmap.
Implements csPixmap. |
|
return current width of this pixmap.
Implements csPixmap. |