/***************************************************************************** Flood fill routine for CS480 Programming Assignment 1 ****************************************************************************** Author: ******************************************************************************/ #include #include #include #include "draw.h" void flood_fill(pixmap,x,y,fill_color,old_color) Pixmap *pixmap; /* a pixmap */ Screencoord x,y; /* the seed point for the fill */ Colorindex fill_color,old_color; /* the old color and the fill color */ { /* Write a flood fill routine based on the algorithm described in class */ /* There are macros for reading and writing pixels to the pixmap provided in the include file "draw.h" */ }