Re: NSBezierPath containsPoint question
Re: NSBezierPath containsPoint question
- Subject: Re: NSBezierPath containsPoint question
- From: Allan Odgaard <email@hidden>
- Date: Tue, 27 Apr 2004 06:18:44 +0200
On 27. Apr 2004, at 5:54, Dominic Edward Feira wrote:
I am trying to determine wether or not I am clicking on a line...below
is a snippet of code. Shouldn't tempBool equal YES? [...]
No, it tells if the point is contained by the (closed) path formed by
multiple lines in the NSBezierPath.
I have not tested it, but someone did write the functionality which you
are seeking:
http://cocoadev.com/index.pl?HitDetection
--
et al: used as an abbreviation when referring to a number of people, for
example: "It has been improved by Knuth et al." [syn: and others, et
alii]
etc: continuing in the same way [syn: and so forth, and so on, et
cetera].
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.