xor-ing a caret
xor-ing a caret
- Subject: xor-ing a caret
- From: Steve Mills <email@hidden>
- Date: Sun, 3 Nov 2002 20:45:51 -0600
I'm trying to display a caret in my view, and it needs to xor itself
over the black bezier I've already stroked. To draw the caret I do:
[[NSColor blackColor] set];
NSRectFillUsingOperation(box, NSCompositeXOR);
But it doesn't xor the black bits to white, it only draws black. What's
the deal?
Steve Mills
Drummer, Mac geek
http://sjmills5.home.mchsi.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.