CodeBase - Floodfill

Return to the CodeBase listing

Category: Bitmap

Version: 1.4



Uploaded: 30th Aug 2003 09:45

Modified: 17th Sep 2005 06:13

Author:  IanM


Fast floodfill routine. Now amended to work correctly in both 16 & 32 bit mode.

Full Description

Floodfill routine, with all the performance enhancements that I could think of.<br /> <br /> This version contains a 'memory' to keep track of where it has previously painted in the current fill, so that you don't paint there again. This is far faster than rechecking pixels on the bitmap, although it is a bit memory intensive.


No comments yet.