> On 05 Dec 2014, at 13:30, Uli Kusterer <witness.of.teacht...@gmx.net> wrote:
> 
> On 30 Nov 2014, at 18:30, Navneet Kumar <navnee...@me.com> wrote:
>> I have a custom view in which I am setting the background using NSRectFill()
> 
> What is the current compositing mode set on the current graphics context? 
> Have you tried using NSRectFillUsingOperation() and passing NSCompositeCopy 
> to make sure you didn't somehow screw up the current compositing operation 
> setting?

Nevermind. I could'a swrong NSRectFill uses the current compositing operation, 
but I just checked the docs again and it's documented to use NSCompositeCopy. 
So unless you're trying to draw transparently, that's not the issue.
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to