Re: NSBezierPath: angle of a line
Re: NSBezierPath: angle of a line
- Subject: Re: NSBezierPath: angle of a line
- From: Henry McGilton <email@hidden>
- Date: Tue, 12 Apr 2005 16:46:06 -0700
On Apr 12, 2005, at 4:08 PM, Ian was here wrote:
I have a straight line created using an NSBezierPath.
This line has a point of origin that remains fixed,
and a current point that can be moved around it's
origin, changing the shape and size of the line.
The issue I'm having is finding the angle of the line
as it's current point is moving around it's origin.
Does anyone know how to get the angle of a line?
In a terminal window, try typing:
man atan2
Cheers,
........ Henry
===============================+============================
Henry McGilton, Boulevardier | Trilithon Software
Objective-C/Java Composer | Seroia Research
-------------------------------+----------------------------
mailto:email@hidden | http://www.trilithon.com
|
===============================+============================
_______________________________________________
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