This document discusses and compares different polygon filling algorithms:
- Scan line algorithm works by intersecting a scanline with polygon edges and filling between intersections.
- Flood fill algorithm uses 4-connected or 8-connected pixels to fill an area starting from a seed point until a boundary is reached.
- Boundary fill is similar to flood fill but only fills along the polygon boundary rather than the entire interior region.
- The difference is that flood fill fills the entire interior region while boundary fill only fills the polygon outline.