On Jan 28, 2010, at 12:29 PM, vincent habchi wrote:

> You're right. Up to that point, I'm quite satisfied with generating the 
> contents directly out of the delegate, but, in a sense, your approach is more 
> unified, since the same layer could then display either vector (drawn out of 
> the database) or raster contents.

The content you are drawing is raster content, it doesn't matter that you are 
using -drawLayer:inContext: or assigning an image to the contents field, in 
either case you are getting raster content.

> Also, there is no possibility to make the drawing be continuous? At that 
> point, the tiles pop out of the void when the drawing is over. No way to make 
> the drawing dynamic?


If you mean to see the drawing as it progresses, you will need to manage that 
yourself. You would likely want to completely overhaul your rendering process 
to do it however, as using a small fixed number of tiles would make this very 
slow as you would end up needing to respecify content you've already specified 
(basically draw-upload-draw-upload).
--
David Duncan
Apple DTS Animation and Printing

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to