Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

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

Description

       Clears the bitmap to the specified color. Example:

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

Name

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

See Also

clear_bitmap(3alleg4), makecol(3alleg4)

Allegro                                           version 4.4.3                          clear_to_color(3alleg4)

Synopsis

#include<allegro.h>voidclear_to_color(BITMAP*bitmap,intcolor);

See Also