Re: NSImage Drawing
Re: NSImage Drawing
- Subject: Re: NSImage Drawing
- From: Kyle Mandli <email@hidden>
- Date: Wed, 25 Jul 2001 11:51:25 -0500
You can draw onto NSImage directly by locking the focus on the image you
are trying to change and using the composite operations you were talking
about. I have not actually tried this but I have seen sample code where
this was done. Good luck.
Kyle
On Wednesday, July 25, 2001, at 09:59 AM, Justin Wood wrote:
>
Now, the problem, I have a badge icon (actually stolen from Mail.app...
>
but I'll make my own :), but how do I composite 2 NSImages together,
>
resulting in another NSImage? I see the composite operations, but they
>
seem to be gearing towards direct drawing, which I don't think is what
>
the NSApp method, setApplicationImage:(NSImage *) wants...