• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSBezierPath containsPoint question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: NSBezierPath containsPoint question
      • From: p3consulting <email@hidden>
References: 
 >NSBezierPath containsPoint question (From: Dominic Edward Feira <email@hidden>)

  • Prev by Date: Re: Fading in windows
  • Next by Date: Re: NSOpenPanel and JPG files
  • Previous by thread: NSBezierPath containsPoint question
  • Next by thread: Re: NSBezierPath containsPoint question
  • Index(es):
    • Date
    • Thread