[comp.graphics] polygon fill simulation

clyne@scdpyr.ucar.edu (John Clyne) (09/03/88)

I am looking for an algorithm for simulating polygon fill styles
using lines. In particular I need to simulate types specifyable
by Hatch index values*. The types include: 
	1. Horizontal equally spaced parallel lines
	2. Vertical equally spaced parallel lines
	3. positive slope  equally spaced parallel lines
	4. negative slope  equally spaced parallel lines
	5. horizontal/vertical crosshatch
	6. positive slope/negative slope crosshatch

If anyone has an algorithm or some pseudo code that applys
I would appreciated it. much thanx




*Hatch index values are registered in the ISO International Register
	Graphical Items.