• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
xor-ing a caret
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Restricting exported symbols from a library?
  • Next by Date: Re: NSTask problem...
  • Previous by thread: Restricting exported symbols from a library?
  • Next by thread: Newbie question: drawing individual pixels
  • Index(es):
    • Date
    • Thread