Re: dynamic NSPointArray allocation
Re: dynamic NSPointArray allocation
- Subject: Re: dynamic NSPointArray allocation
- From: Shane <email@hidden>
- Date: Fri, 27 Nov 2009 17:37:29 -0600
> Why not just accumulate the points directly into NSBezierPath? It can be thought of as an array of points in a sense. Unless there's a compelling need to have the points themselves available in addition to the bezier path, just cut out the middle man (and it's not difficult to retrieve the points from a bezier path in any case).
Oops, possible duplication here, apologies ahead of time.
I liked the idea, but because my window can get resized and therefore,
I'd have to rescale the points each and every time to fit my borders,
I'm thinking using a middle man for this and just passing the
NSPointArray might work better. Unless there's a better way.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden