• 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 and line intersection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSBezierPath and line intersection


  • Subject: Re: NSBezierPath and line intersection
  • From: Nicko van Someren <email@hidden>
  • Date: Mon, 2 May 2005 15:33:13 +0100

On 2 May 2005, at 10:08, Luca wrote:

I've to lines creates using NSBezierPath. How can I calculate the intersection point of the two segments?

I'm fairly sure that this got answered last week, but if you missed it the short version is to flatten the path and use simple linear geometry on the line segments. Read the documentation for NSBezierPath and the archives of this list for details.


	Nicko

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Fwd: NSBezierPath and line intersection (From: Luca <email@hidden>)

  • Prev by Date: Re: Redrawing a superview from another view's -drawRect: method
  • Next by Date: Re: Redrawing a superview from another view's -drawRect: method
  • Previous by thread: Fwd: NSBezierPath and line intersection
  • Next by thread: Cocoa drag and drop is screwy
  • Index(es):
    • Date
    • Thread