Re: NSBezierPath and line intersection
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