[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to convert from PICT to RGN for bounding region clicks
- To: info-mcl@ministry.cambridge.apple.com
- Subject: How to convert from PICT to RGN for bounding region clicks
- From: cornell@cs.umass.edu (MATTHEW CORNELL)
- Date: 15 Mar 1994 15:39:41 GMT
- Distribution: world
- Newsgroups: comp.lang.lisp.mcl
- Organization: University of Massachusetts/Amherst
Dear Folks:
We want to use arbitrary regions to identify portions of a picture for
use as "hot spots" when the user clicks. We have a PICT but all that
gives us is the bounding rectangle. What we need is a REGION that
defines the PICT's outline. Is there a QuickDraw trap to do this? We
tried opening a region, drawing the pict, then closing the region, but
that failed because regions don't record picture drawing.
matt