NAME
====
  vg_sprite_mirror() - mirror a sprite vertically or horizontally


SYNOPSIS
========
  sprite * vg_sprite_mirror(sprite * spt, int vh)


DESCRIPTION
===========
  The passed sprite spt is mirrored
  either vertically, if vh is MIRROR_VT
  or horizontally, if vh is MIRROR_HT,
  which means that all bitmaps of this sprite are mirrored.

  Then the modified sprite spt is returned.
  This is another behaviour than vg_bitmap_mirror() shows, which leaves
  the passed bitmap untouched and returns a new static mirrored bitmap.


RETURN VALUE
============
  If it succeeds, a pointer to the mirrored 1.parameter is returned.
  If an error occurs, NULL is returned, an error message is printed to stderr.


SEE ALSO
========
  Index
  Understanding sprites
  vg_sprite_createnew()
  vg_sprite_createfromfile()
  vg_sprite_add()
  vg_sprite_duplicate()
  vg_sprite_rotate()
  vg_sprite_zoom()
  vg_sprite_getnext()
  vg_sprite_getcurrent()
  vg_sprite_reset()
  vg_sprite_free()