Re:NSBezierPath alloc
Re:NSBezierPath alloc
- Subject: Re:NSBezierPath alloc
- From: email@hidden
- Date: Tue, 26 Feb 2002 17:02:23 -0800
Is there some way to allocate a bunch of memory for a NSBezierPath.
My path
is going to have several thousand endpoints. It currently takes
forever for
the points to be appended. I'm assuming this is due to the memory
overhead
when adding each node.
OK...I take it back. It's not the allocating. It's the stroke command.
Anybody have any suggestions to optimize the drawing. It will always be
straight lines. I have redone this using the strokeLineFromPoint
function.
This does make it much faster but doesn't give me any of the nice stuff
you
get when the path is stored.
There was a long thread on this problem a few weeks ago that you might
look at.
Ben Haller
Stick Software
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.