[comp.sys.mac.programmer] Hit Detection

lsr@Apple.COM (Larry Rosenstein) (09/12/88)

A while ago, someone posted a clever way to test whether the user has
clicked on a line, oval, etc.  It involved drawing the graphical shape into
an offscreen bitmap and testing the appropriate bit.

I would like to find out who first thought of this idea.  Send any leads to
me via E-Mail.


		 Larry Rosenstein,  Object Specialist
 Apple Computer, Inc.  20525 Mariani Ave, MS 46-B  Cupertino, CA 95014
	    AppleLink:Rosenstein1    domain:lsr@Apple.COM
		UUCP:{sun,voder,nsc,decwrl}!apple!lsr

sho@pur-phy (Sho Kuwamoto) (09/12/88)

In article <16974@apple.Apple.COM> lsr@Apple.COM (Larry Rosenstein) writes:
>
>A while ago, someone posted a clever way to test whether the user has
>clicked on a line, oval, etc.  It involved drawing the graphical shape into
>an offscreen bitmap and testing the appropriate bit.
>
Isn't this an old method used for simple collision detection?  (by old, I
mean at least five years, if not ten.)

-Sho