In the background of my view, I draw a light blue color. And in the middle, i have a square box that is supposed to have an even lighter gray in it that has a 20% transparency. But for some reason the transparency is on top of a black background instead of a blue. I'm sorry If i'm not being clear.
A:
You're probably using the wrong compositing mode to draw the smaller box. Show us your code.
NSResponder
2010-04-09 12:17:18
Yeah, the problem was that I was supposed to be using NSRectFillUsingOperation(rect, NSCompositeSourceOver); rather than normal NSRectFill
Alex Zielenski
2010-04-09 13:45:49