Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::image::SetSpriteHotspot Function
C++
__cdecl IMAGE_PROC PSPRITE SetSpriteHotspot(PSPRITE sprite, S_32 x, S_32 y);
PSPRITE (* SetSpriteHotspot)(PSPRITE sprite, S_32 x, S_32 y);
Parameters 
Description 
PSPRITE sprite 
The PSPRITE to set the hotspot of. 
S_32 x 
x coordinate in the sprite's image that becomes the hotspot. 
S_32 y 
y coordinate in the sprite's image that becomes the hotspot. 

Sets the point on a sprite which is the 'hotspot' the hotspot is the point that is drawn at the specified coordinate when outputting a sprite.

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!