clear_to_color - Man Page

Clears the bitmap to the specified color. Allegro game programming library.

Synopsis

#include <allegro.h>

void clear_to_color(BITMAP *bitmap, int color);

Description

Clears the bitmap to the specified color. Example:

   /* Clear the screen to red. */
   clear_to_color(bmp, makecol(255, 0, 0));

See Also

clear_bitmap(3), makecol(3)

Referenced By

clear_bitmap(3), create_bitmap(3), create_bitmap_ex(3), create_sub_bitmap(3), create_system_bitmap(3), create_video_bitmap(3), ex12bit(3), ex3d(3), excamera(3), excustom(3), exdbuf(3), exflip(3), exfont(3), exhello(3), exkeys(3), exmidi(3), exmouse(3), expat(3), exquat(3), exrgbhsv(3), exrotscl(3), exsample(3), exspline(3), exstream(3), exswitch(3), exsyscur(3), extimer(3), extruec(3), exunicod(3).

version 4.4.3 Allegro manual