Here we consider instead of the mathematically infinitely thin line a line with some thickness, i.e. a small rectangle. We color each pixel according to the area of the corresponding unit square which is covered by this rectangle.
Andreas Kriegl 2003-07-23