GetSpriteHeight |
Top Previous Next |
Syntax UINT = GetSpriteHeight(sprite as POINTER) Description Returns the height of the sprite in pixels. Parameters sprite - Sprite pointer returned by the LoadSprite function. Return value The height of the sprite. Remarks LoadSprite can automatically calculate the width and height of a sprite based on the image data. Use this function to retrieve the current height of the sprite. See Also: GETSPRITEWIDTH Example usage sprite = LoadSprite(GETSTARTPATH+"mouth.bmp",0,0,3) |