clear_to_color

Clears the bitmap to the specified color.

Description

void clear_to_color(BITMAP *bitmap, int color);
Clears the bitmap to the specified color. Example:
      /* Clear the screen to red. */
      clear_to_color(bmp, makecol(255, 0, 0));
Examples using this:

Related Discussions

The following threads each have code containing this keyword: Note: You can click on the numbers to jump directly to the posts that reference this page.

Related Projects

The following projects include source code containing this keyword: