[comp.graphics] Drawing filled quadrilaterals

theorem@blake.acs.washington.edu (Adrian Mariano) (05/05/90)

Given four points in order, I want to connect them by lines of one color and 
fill the interior with another color.  I'd like to do this with
2 primitives:  one that draws single pixels, and one that draws horizontal
lines.  

Can anybody tell me where to find source code (preferably) or point me to 
a book which describes the appropriate algorithm?