Path: utzoo!mnetor!uunet!husc6!cca!mirror!rayssd!brunix!nancy!omh From: omh@nancy (Owen M. Hartnett) Newsgroups: comp.sys.mac.programmer Subject: Polygon question Message-ID: <24153@brunix.UUCP> Date: 23 Mar 88 04:32:44 GMT Sender: root@brunix.UUCP Reply-To: omh@brunix.UUCP (Owen M. Hartnett) Organization: Brown University Computer Science Dept. Lines: 21 Does anyone have a good method for determining the area (square pixels) of a Macintosh polygon? The method I'm going to use would be to copy it to a blank offscreen bitmap, then scan through the bits looking for an edge, then count bits until I hit the next edge. Any better ways (or a fast algorithm to do the above??) Thanks, Owen Owen Hartnett Brown University Computer Science omh@cs.brown.edu.CSNET omh%cs.brown.edu {ihnp4,allegra}!brunix!omh "Don't wait up for me tonight because I won't be home for a month." -W.C. Fields