NAME
====
  vg_bitmap_duplicate() - duplicate a bitmap


SYNOPSIS
========
  bitmap * vg_bitmap_duplicate(const bitmap * sbmp)


DESCRIPTION
===========
  Duplicates a bitmap, creating a new identical bitmap from an existing one.
  sbmp is the existing bitmap (or window if NULL), which is to be duplicated.


RETURN VALUE
============
  If it succeeds, it returns a pointer to the created duplicated bitmap.
  If an error occurs, it returns NULL, giving out an error message to stderr.


SEE ALSO
========
  Index
  Understanding bitmaps
  vg_bitmap_createnew()
  vg_bitmap_createfromfile()
  vg_bitmap_createfromtext()
  vg_bitmap_width()
  vg_bitmap_height()
  vg_bitmap_getpixel()
  vg_bitmap_clear()
  vg_bitmap_copyto()
  vg_bitmap_save()
  vg_bitmap_rotate()
  vg_bitmap_zoom()
  vg_bitmap_mirror()
  vg_bitmap_overlap()
  vg_bitmap_free()