VgaGames4

VgaGames4 - canvas man-pages

[.. upper level ..]

# vg4->canvas->image_setsprite()

(Re)Set a sprite to show.

SYNTAX
void vg4->canvas->image_setsprite(struct VG_Canvas *cvas, const char *iname, struct VG_Sprite *sprt)
FUNCTION PARAMETERS

cvas | Canvas
iname | Name of canvas-item image
imgp | Sprite to show, or NULL = no sprite

DESCRIPTION
(Re)Set a sprite to show. See section CV-IMAGE in vg4->canvas->load().
SEE ALSO
vg4->canvas->image_setimage()