Re: Drawing in CALayers

2008-06-18 Thread Gordon Apple
Addendum: I did implement my own transform to flip the drawing. As far as I can tell, the "initialFlippedState" parameter in NSGraphicsContext *)graphicsContextWithGraphicsPort:(void *)graphicsPort flipped:(BOOL)initialFlippedState has no impact whatsoever. Bug report time? Another thi

Re: Drawing in CALayers

2008-06-18 Thread Scott Anguish
On Jun 17, 2008, at 4:50 PM, Erik Buck wrote: I am a little bit confused by Scott's statement that "if you use layers-hosting views, then you should not rely on view drawing at all ... conversely, if you use layer-backed views then you should not directly access the views." and you sho

Re: Drawing in CALayers

2008-06-17 Thread Erik Buck
I am a little bit confused by Scott's statement that "if you use layers-hosting views, then you should not rely on view drawing at all ... conversely, if you use layer-backed views then you should not directly access the views." I may just misunderstand what Scott means, but I have used lay

Re: Drawing in CALayers

2008-06-17 Thread Scott Anguish
no, you can't. if you use layers-hosting views, then you should not rely on view drawing at all conversely, if you use layer-backed views then you should not directly access the views. On Jun 17, 2008, at 3:21 PM, Gordon Apple wrote: 2. Can you mix standard view drawing with CALeyers?

Drawing in CALayers

2008-06-17 Thread Gordon Apple
I'm trying to migrate to using CALayers and having nothing but problems. I'm currently trying to use two simple CALayers, one for accumulated prior layers (my own list of draw lists) and one for the current layer. I'm using Cocoa to draw. No filters or transitions yet, just simple drawing. I