DOKK / manpages / debian 11 / allegro4-doc / floodfill.3alleg4.en
floodfill(3alleg4) Allegro manual floodfill(3alleg4)

floodfill - Floodfills an enclosed area. Allegro game programming library.

#include <allegro.h>

void floodfill(BITMAP *bmp, int x, int y, int color);

Floodfills an enclosed area, starting at point (x, y), with the specified color.

drawing_mode(3alleg4), makecol(3alleg4)

version 4.4.3 Allegro