I have an NSView with multiple child controls in it. I know I can call [childControl setHidden:TRUE] but I was wondering if its possible to block the message \"drawRect:\" for the child controls.
I have a problem where my application aggressively consumes memory to a \"thrashing point\" with successive image file loads.For example, consider the following code, which repeatedly loads and releas
I\'m writing an app for Mac OS >= 10.6 that creates OpenGL textures from images loaded from disk. First, I load the image into an NSImage. Then I get the NSBitmapImageRep from the image and load the
I\'m trying to create paletted PNG image (8-bit per pixel) that uses RGBA palette (32-bit per palette entry) using Cocoa framework*.
I have three NSViews in a Cocoa application, each subviews of the other. FirstNSView -> SecondNSView -> ThirdNSView
I\'m looking to replicate with Cocoa/Core Graphics the process which seems to occur on iOS when setting an image for aUITabBarItem. When the tab bar item is selected, the image is overlayed with a gra
I need to mark some opened win开发者_如何转开发dow from my application. I can get the windows list, their system id, name, owner... Can I draw some NSImage only on choosen window?If you have a window,
Can anyone tell me how I can get the true width and height of an NSImage? I have noticed that images that are a higher DPI than 72 come through with inaccurate width and height with the NSImage.size p
The requirement is like this, I would get a single large PNG Images for a button, this single image will contain images for hOver, button clicked , mouse exit that need to be displayed,
Using code (not the Interface builder) I need to create an NSButton that looks like an image. Specifically I开发者_Python百科 want to use NSImageNameStopProgressFreestandingTemplate and I need it not