---
name: "floodfill"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/floodfill"
---

# floodfill(3alleg)

Floodfills an enclosed area. Allegro game programming library.

## NAME

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

## SYNOPSIS

**#include \<allegro.h\>**

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

## DESCRIPTION

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

## SEE ALSO

[**drawing\_mode**(3alleg)](/drawing_mode/3alleg.md), [**makecol**(3alleg)](/makecol/3alleg.md)
