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 protected]) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
