Re: CALayer maybe silly question
Re: CALayer maybe silly question
- Subject: Re: CALayer maybe silly question
- From: David Duncan <email@hidden>
- Date: Thu, 28 Jan 2010 12:37:47 -0800
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 (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