1clear_to_color(3)               Allegro manual               clear_to_color(3)
2
3
4

NAME

6       clear_to_color - Clears the bitmap to the specified color. Allegro game
7       programming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       void clear_to_color(BITMAP *bitmap, int color);
14

DESCRIPTION

16       Clears the bitmap to the specified color. Example:
17
18          /* Clear the screen to red. */
19          clear_to_color(bmp, makecol(255, 0, 0));
20
21

SEE ALSO

23       clear_bitmap(3), makecol(3)
24
25
26
27Allegro                          version 4.4.2               clear_to_color(3)
Impressum