Re: Make a solid line look like 3D
Re: Make a solid line look like 3D
- Subject: Re: Make a solid line look like 3D
- From: "I. Savant" <email@hidden>
- Date: Sun, 25 Oct 2009 19:52:15 -0400
On Oct 25, 2009, at 7:48 PM, I. Savant wrote:
Quincey's suggestion to cache is right on the money: draw it with
bezier paths once, then only display the finished product as PDF
data. You could even separate it out into different 'overlays' for
each 'thread file'. That minimizes any redrawing that's necessary
when changing the color of a 'thread file'.
One more thing: If you separate each thread file out into a
separate overlay image, and you're targeting Leopard or above, you can
easily use NSOperation/Queue to put each overlay into its own separate
operation (multithread your threads, so to speak). Just draw straight
to images instead of the view. Then your view only has to cache the
images and redraw them.
--
I.S.
_______________________________________________
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