Main Page Class Hierarchy Compound List File List Compound Members
csAnimatedPixmap Class Reference a pixmap with a 2d animation.
More...
#include <csanim2d.h >
Inheritance diagram for csAnimatedPixmap:
List of all members.
Public Methods
csAnimatedPixmap (csAnimationTemplate *tpl)
create an animated pixmap.
virtual ~csAnimatedPixmap ()
destroy this object.
virtual int Width ()
return current width of this pixmap.
virtual int Height ()
return current height of this pixmap.
virtual iTextureHandle * GetTextureHandle ()
return current texture handle.
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.
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.
Detailed Description
a pixmap with a 2d animation.
Member Function Documentation
virtual void csAnimatedPixmap::DrawTiled (
iGraphics3D * g3d ,
int sx ,
int sy ,
int sw ,
int sh ,
int orgx ,
int orgy ,
uint8 Alpha = 0 ) [virtual]
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.
Reimplemented from csPixmap .
The documentation for this class was generated from the following file:
Generated for Crystal Space by
doxygen
1.2.5 written by
Dimitri van Heesch ,
©1997-2000