Re: NSBezierPath line
Re: NSBezierPath line
- Subject: Re: NSBezierPath line
- From: Ian was here <email@hidden>
- Date: Sat, 9 Apr 2005 12:19:30 -0700 (PDT)
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
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@hidden> 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@hidden
> Instant Interactive(tm)
> http://www.instantinteractive.com
>
>
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
_______________________________________________
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