NAME
====
vg_bitmap_clear() - clear a bitmap with a color-index
SYNOPSIS
========
void vg_bitmap_clear(bitmap * bmp, int color)
DESCRIPTION
===========
Clears the whole bitmap bmp (or window if NULL) with the color-index color.
E.g. "vg_bitmap_clear(bmp,RGB_BLACK)" makes all pixels black,
"vg_bitmap_clear(bmp,vg_color_index(CL_BLUE,100))" makes them blue.
RETURN VALUE
============
No value is returned.
SEE ALSO
========
Index
Understanding bitmaps
vg_bitmap_createnew()
vg_bitmap_createfromfile()
vg_bitmap_createfromtext()
vg_bitmap_duplicate()
vg_bitmap_width()
vg_bitmap_height()
vg_bitmap_getpixel()
vg_bitmap_copyto()
vg_bitmap_save()
vg_bitmap_rotate()
vg_bitmap_zoom()
vg_bitmap_mirror()
vg_bitmap_overlap()
vg_bitmap_free()