Setting NSImage with overlay blend to NSImageView

2008-04-23 Thread Ross Oliver
Hey, I haven't used core graphics before and I'm looking to create an overlay blend mode effect with two images. I have a NSImageView with the image set to an NSImage. What are the general steps I would need to take to draw another image on top of it and set it as an overlay? The

Re: Setting NSImage with overlay blend to NSImageView

2008-04-23 Thread Michael Vannorsdel
Each view draw's into the window's graphic context. When focus is locked on a view the window's context is clipped and translated to the view so that drawing is limited to just the view's bounds. Basically all views in a window generally use the window's context (OpenGL views and whatnot