Rasterizing lines and triangles with color interpolation.