XOR is a wonderful tool. You can do so many things with it so easily! Primarily, easily erase temporary feedback and ensure that what you're drawing is visible against (almost) any background. We use it for every drag, and a lot of selection.
I really wish Apple hadn't neglected to provide it for Core Graphics.
But then, Core Graphics has this general principle that what you're drawing into isn't a pixmap with pixels whose color values you can go look up -- that MIGHT happen to be the case 99% of the time, but that's just coincidental. So XOR is meaningless. And so is CopyBits, which would have been the easiest thing to replace it with.
I'm not stuck or anything, I'm just annoyed that I have to make all these changes.
I really wish Apple hadn't neglected to provide it for Core Graphics.
But then, Core Graphics has this general principle that what you're drawing into isn't a pixmap with pixels whose color values you can go look up -- that MIGHT happen to be the case 99% of the time, but that's just coincidental. So XOR is meaningless. And so is CopyBits, which would have been the easiest thing to replace it with.
I'm not stuck or anything, I'm just annoyed that I have to make all these changes.