NSCompositePlusDarker different on Panther vs. Jaguar?
NSCompositePlusDarker different on Panther vs. Jaguar?
- Subject: NSCompositePlusDarker different on Panther vs. Jaguar?
- From: Glen Simmons <email@hidden>
- Date: Fri, 29 Oct 2004 17:11:20 -0500
I'm tinting an NSImage a nice shade of light green using this code:
imageBackGroundColor = [NSColor colorWithCalibratedRed:.76
green:.84
blue:.68
alpha:1.0];
[myImage lockFocus];
[imageBackGroundColor set];
NSRectFillUsingOperation(imageRect, NSCompositePlusDarker);
[myImage unlockFocus];
This works well on 10.3, but makes my image purple on Jaguar. I have
nothing against purple, but it's not what I intended. A colleague clued
me in that the purple I'm getting is the inverse of my green, but I
don't know how to get green instead without having OS specific code.
What am I missing?
Thanks,
Glen Simmons
_______________________________________________
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