Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!agate!agate.berkeley.edu!nj From: nj@magnolia.Berkeley.EDU (Narciso Jaramillo) Newsgroups: comp.sys.amiga.programmer Subject: Re: Clicking on irregular shapes? Message-ID: Date: 2 Apr 91 18:54:46 GMT References: <1991Mar27.212214.6204@orfeo.radig.de> <2710@sirius.ucs.adelaide.edu.au> <20181@cbmvax.commodore.com> <1991Mar29.022042.14110@leland.Stanford.EDU> <1757.tnews@templar.actrix.gen.nz> <2151@pdxgate.UUCP> <1991Ap Sender: usenet@agate.berkeley.edu (USENET Administrator) Organization: Postcarcinogenic Bliss, Inc. Lines: 11 In-Reply-To: edgar@csri.toronto.edu's message of 2 Apr 91 13:32:26 GMT In article <1991Apr2.083226.28814@jarvis.csri.toronto.edu> edgar@csri.toronto.edu (Edgar LeBel) writes: Here's a REALLY cheap way of detecting clicks on irregular shapes: draw the shapes in different colours, so you can sample the pixel clicked on to figure out which shape was picked. Except that (1) this forces you to click exactly on the shape boundary for an unfilled shape and (2) it forces every shape to be a different color. Useful for some applications, not for others. nj