Re: NSImage size vs. representations' sizes

2008-08-03 Thread Marcel Weiher
On Aug 2, 2008, at 14:19 , Jacob Bandes-Storch wrote: I'm trying to use my application icon (icns) in a custom view to be draw in the background of a window, like Installer.app does. I can do all this just fine, but when I draw the image using - drawInRect:fromRect:operation:fraction:, it c

NSImage size vs. representations' sizes

2008-08-02 Thread Jacob Bandes-Storch
I'm trying to use my application icon (icns) in a custom view to be draw in the background of a window, like Installer.app does. I can do all this just fine, but when I draw the image using - drawInRect:fromRect:operation:fraction:, it comes out at 128x128 instead of the full 512x512. -size