DOKK / manpages / debian 10 / allegro4-doc / rectfill.3alleg4.en
rectfill(3alleg4) Allegro manual rectfill(3alleg4)

rectfill - Draws a solid filled rectangle. Allegro game programming library.

#include <allegro.h>

void rectfill(BITMAP *bmp, int x1, int y1, int x2, int y2, int color);

Draws a solid, filled rectangle with the two points as its opposite corners.

rect(3alleg4), clear_bitmap(3alleg4), drawing_mode(3alleg4), makecol(3alleg4), exalpha(3alleg4), excolmap(3alleg4), exkeys(3alleg4), exmidi(3alleg4), expat(3alleg4), exscroll(3alleg4), exsprite(3alleg4), exstars(3alleg4), exswitch(3alleg4), extrans(3alleg4)

version 4.4.2 Allegro