Re: How do I get CAScrollLayer to draw its sublayers

2008-09-22 Thread David Duncan
On Sep 21, 2008, at 3:39 PM, Cesar Alaniz wrote: I have set up a CAScrollLayer with one sublayer, in this case a CATiledLayer. The documentation say's that CATiledLayer will call drawLayer:(CALayer*)layer inContext:(CGContextRef) ref as the layer is needed to be drawn. I cannot see this

Re: How do I get CAScrollLayer to draw its sublayers

2008-09-22 Thread Bill Dudney
Hi Cesar, I had more luck getting rid of the scroll layer and using a 'normal layer'. http://bill.dudney.net/roller/objc/entry/catiledlayer_example Has a full example of doing the tiled layer stuff with a PDF. My book has an example on doing the tiled layer stuff with tiled jpg files; h

How do I get CAScrollLayer to draw its sublayers

2008-09-21 Thread Cesar Alaniz
I have set up a CAScrollLayer with one sublayer, in this case a CATiledLayer. The documentation say's that CATiledLayer will call drawLayer:(CALayer*)layer inContext:(CGContextRef) ref as the layer is needed to be drawn. I cannot see this method being called currently. My CAScrollLayer,