Skip navigation.
 
mlRe: NSBezierPath line
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

Related mailsAuthorDate
mlNSBezierPath line Ian was here Apr 9, 01:11
mlRe: NSBezierPath line Ricky Sharp Apr 9, 01:27
mlRe: NSBezierPath line Ian was here Apr 9, 21:19
mlRe: NSBezierPath line Henry McGilton Apr 13, 20:39