• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSImage Drawing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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...


  • Follow-Ups:
    • Re: NSImage Drawing
      • From: Justin Wood <email@hidden>
References: 
 >NSImage Drawing (From: Justin Wood <email@hidden>)

  • Prev by Date: Re: Obj-C vs Java
  • Next by Date: Re: NSOutlineView
  • Previous by thread: NSImage Drawing
  • Next by thread: Re: NSImage Drawing
  • Index(es):
    • Date
    • Thread