drew@cat45.CS.WISC.EDU (Shawn Drew) (02/25/89)
I have recently delved into that mystifying realm of QuickDraw and am having a few problems. In a dialog box, I draw a map. I would like to overlay an "X-marks-the-spot" symbol on the map, but am having problems. Instead of just putting the pixels that form the X itself, it also puts the white pixels in, resulting in a white square with an X in it. (I want the X to be Xor-ed onto the map) Is there any way I can get rid of the white square? This problem is reminiscent of the difference between the marquee and lasso tools in MacPaint. I want QuickDraw to use the equivalent of the lasso tool when drawing, but it's using the marqee. For example: (assume x is a black pixel, space is a white pixel) xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx x x xxxxxxxxxx xxx x xxxx x x x xx xx xx xxxxxxxxxx xx x xxx x xx xx xx xxxxxxx xxxxxxxxxx x xx xxxxxxxxxx xx xx xxxxxxxxxx xx x xxx x xx xx xx x x xxxxxxxxxx xxx x xxxx x x x xx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx Source BMap Dest. BMap What I want What I get What am I doing wrong? Thanks for any help you can offer. ****** The opinions expressed in this article are my own ****** ********** Who else would want to claim them? *********** drew@cat45.cs.wisc.edu
wetter@cit-vax.Caltech.Edu (Pierce T. Wetter) (02/26/89)
> in a white square with an X in it. (I want the X to be Xor-ed onto the map) > Why doesn't PenMode(patXor) work? Pierce -- ____________________________________________________________________________ You can flame or laud me at: wetter@tybalt.caltech.edu or wetter@csvax.caltech.edu or pwetter@caltech.bitnet (There would be a witty saying here, but my signature has to be < 4lines)