Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::image::SetSpritePosition Function
C++
__cdecl IMAGE_PROC PSPRITE SetSpritePosition(PSPRITE sprite, S_32 x, S_32 y);
PSPRITE (* SetSpritePosition)(PSPRITE sprite, S_32 x, S_32 y);
Parameters 
Description 
PSPRITE sprite 
the sprite to move 
S_32 x 
the new x coordinate of the parent image to draw at 
S_32 y 
the new y coordinate of the parent image to draw at 

This function sets the current location of a sprite. When asked to render, the sprite will draw itself here.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!