• 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: angle of a line
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSBezierPath: angle of a line (From: Ian was here <email@hidden>)

  • Prev by Date: Re: Order of instantiation within a NIB
  • Next by Date: Binding to object at index in NSArrayController?
  • Previous by thread: NSBezierPath: angle of a line
  • Next by thread: Re: NSBezierPath: angle of a line
  • Index(es):
    • Date
    • Thread