Polygon Filling Algorithm - Raster Graphics and Clipping
In several graphics displays, this becomes essential to differentiate between different regions by filling them along with different colour or at least by different shades of gray. There are various methods of filling a closed area with a specified colour or corresponding gray scale. The most general classification demonstrated through following algorithms:
a) Scan Line polygon fill algorithm.
b) Seed fill algorithm./Flood fill algorithm that are additionally classified as:
(a) Boundary fill algorithm and
(b) Interior fill algorithm
We confine our discussion to scan line polygon fill algorithm, while we will discuss the others in briefly at the end of such section.