FROM : Ricky Sharp
DATE : Sat Apr 09 01:27:47 2005
On Apr 8, 2005, at 6:11 PM, Ian was here wrote:
> I'm trying to get the points at either end of an
> NSBezierPath line. Does anyone know how to do this???
Not sure if there's a simpler way, but look at
elementAtIndex:associatedPoints:
I would iterate over the path elements (see elementCount and
elementAtIndex:) and depending upon the type of element, record the
given point.
___________________________________________________________
Ricky A. Sharp mailto:<email_removed>
Instant Interactive(tm) http://www.instantinteractive.com
DATE : Sat Apr 09 01:27:47 2005
On Apr 8, 2005, at 6:11 PM, Ian was here wrote:
> I'm trying to get the points at either end of an
> NSBezierPath line. Does anyone know how to do this???
Not sure if there's a simpler way, but look at
elementAtIndex:associatedPoints:
I would iterate over the path elements (see elementCount and
elementAtIndex:) and depending upon the type of element, record the
given point.
___________________________________________________________
Ricky A. Sharp mailto:<email_removed>
Instant Interactive(tm) http://www.instantinteractive.com
| Related mails | Author | Date |
|---|---|---|
| Ian was here | Apr 9, 01:11 | |
| Ricky Sharp | Apr 9, 01:27 | |
| Ian was here | Apr 9, 21:19 | |
| Henry McGilton | Apr 13, 20:39 |






Cocoa mail archive

