Problems understanding CALayer geometry

2009-11-21 Thread Henri Häkkinen
Hello. I am deriving my own custom CALayer class for my custom NSView class but there is something I don't quite understand about the geometry. This is how I create the layer in awakeFromNib: of my custom NSView class: - (void)awakeFromNib { MyLayer *myLayer = [MyLayer layer];

Re: Problems understanding CALayer geometry

2009-11-21 Thread Matt Neuburg
On Sat, 21 Nov 2009 17:21:55 +0200, Henri H?kkinen hen...@henuxsoft.com said: Hello. I am deriving my own custom CALayer class for my custom NSView class but there is something I don't quite understand about the geometry. This is how I create the layer in awakeFromNib: of my custom NSView class: