Flood FillDemonstrates flood fill algorithms in C# with GDI+ | |
Download |
Flood Fill Ranking & Summary
Advertisement
- License:
- Freeware
- Publisher Name:
- J. Dunlap
- Publisher web site:
- http://www.codeproject.com/Members/J-Dunlap
- Operating Systems:
- Windows All
- File Size:
- 110 KB
Flood Fill Tags
- color fill GDI+ Function GDI Library GDI+ Flood fill pattern flood photo flood flood various algorithms syn packet flood tolerance GDI tool two algorithms flood detection GDI Development GDI+ Rendering Code flood simulation flood control measure simulate flood GDI+ Code fill algorithm fill color color tolerance flood e-mail GDI object GDI pen gdi leak GDI Resources
Flood Fill Description
GDI+ does not have built-in flood fill capabilities. This example shows you how to create three different flood-fill algorithms for GDI+. It expands on the typical flood fill implementation by allowing adjustable color tolerance, and optional 8-way (diagonal) branching.The flood fill algorithms will not be as fast as they would be if they were written in assembler, but you most likely won't notice this in ordinary use, because they are still quite fast.The Flood Fill application was developed to be a small test tool that demonstrates flood fill algorithms in C# with GDI+. The demo program allows you to open and save bitmap files, and flood-fill them. It allows you to change the fill color and color tolerance for the fill operation, and has a brief explanation of each algorithm. You can watch the fill operation in slow motion (helpful for understanding how the different algorithms work). You can also see how long the flood fill operation took.
Flood Fill Related Software