Skip navigation.
 
mlRe: NSBezierPath line
FROM : Ian was here
DATE : Sat Apr 09 21:19:30 2005

Yeah, that's what I figured. It would be nice if Apple
created a method that would return an origin point as
well as the current point. Oh well.

Thanks.



--- Ricky Sharp <<email_removed>> wrote:
>
> 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
>
>



       
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/

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