1.3.4. Unit-Summary
On a raster display a line is drawn by colouring pixels. Since the
pixels are centered around the grid points, we have to approximate the line
by intensifying the grid-point pixels lying on the line or nearest to it.
|
The algorithm for filling polygons contains two steps:
- Computing the intersections for each scan line
- Filling the polygon alternately between the intersections.