SPR_drawExt

Draws the sprite object at the specified location.

Declaration

void MGLAPI SPR_drawExt(
SPR_bitmap *bmp,
int x,
int y,
int op)

Prototype In

gm/sprite.h

Parameters

bmp | Sprite object to draw
x | X coordinate to draw the sprite at
y | Y coordinate to draw the sprite at
op | Write mode to draw with

Description

This function draws the sprite object at the specified (x,y) location on the device context currently bound to the Sprite Manager (ie: the device context you used when you initialized it with SPR_mgrInit). The sprite is drawn using the attributes of the sprite when you added it (ie: opaque or source transparent).

See Also

SRP_drawSection, SPR_draw, SPR_mgrAddOpaqueBitmap, SPR_mgrAddTransparentBitmap,

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com