Re: Re: NSImage drawAtPoint & Transparency
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