Path: utzoo!utgpu!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ucbvax!decwrl!labrea!rutgers!gatech!ncar!scdpyr.ucar.edu!clyne From: clyne@scdpyr.ucar.edu (John Clyne) Newsgroups: comp.graphics Subject: polygon fill simulation Message-ID: <660@ncar.ucar.edu> Date: 2 Sep 88 19:46:00 GMT Sender: news@ncar.ucar.edu Reply-To: clyne@scdpyr.ucar.edu (John Clyne) Organization: Scientific Computing Division/NCAR, Boulder CO Lines: 17 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.