• 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: Re: NSImage drawAtPoint & Transparency
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re: NSImage drawAtPoint & Transparency


  • Subject: Re: Re: NSImage drawAtPoint & Transparency
  • From: "Aychamo Aychamo" <email@hidden>
  • Date: Sun, 15 Oct 2006 13:10:06 -0400

Ahh, that worked.  I looked in the docs beforehand at the different
NSComposite constants, but when trying to figure out what they did, it
seemed cryptic.  Now that I see that that one works, it makes more
sense.

As always, thank you
AA

On 10/15/06, I. Savant <email@hidden> wrote:
On Oct 15, 2006, at 12:46 PM, Aychamo Aychamo wrote:
> [currentImage drawAtPoint: NSMakePoint(0,-2) fromRect: NSZeroRect
> operation: NSCompositeCopy fraction: 1.0];
>
> Does anyone have an idea what may be making it draw a black
> background?  I've even tried [currentImage setBackgroundColor:
> [NSColor clearColor]]; without luck.


Try NSCompositeSourceOver instead.

--
I.S.




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: NSImage drawAtPoint & Transparency
      • From: Uli Kusterer <email@hidden>
References: 
 >NSImage drawAtPoint & Transparency (From: "Aychamo Aychamo" <email@hidden>)
 >Re: NSImage drawAtPoint & Transparency (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: Core Data: undo and non-object attribute [SOLVED]
  • Next by Date: Re: Core Data: undo and non-object attribute [SOLVED]
  • Previous by thread: Re: NSImage drawAtPoint & Transparency
  • Next by thread: Re: NSImage drawAtPoint & Transparency
  • Index(es):
    • Date
    • Thread