NAME ==== vg_sprite_duplicate() - duplicate a sprite SYNOPSIS ======== sprite * vg_sprite_duplicate(const sprite * sspt) DESCRIPTION =========== Duplicates a sprite, creating a new identical sprite from an existing one. sspt is the existing sprite, which is to be duplicated. RETURN VALUE ============ If it succeeds, it returns a pointer to the created duplicated sprite. If an error occurs, it returns NULL, giving out an error message to stderr. SEE ALSO ======== Index Understanding sprites vg_sprite_createnew() vg_sprite_createfromfile() vg_sprite_add() vg_sprite_rotate() vg_sprite_zoom() vg_sprite_mirror() vg_sprite_getnext() vg_sprite_getcurrent() vg_sprite_reset() vg_sprite_free()