Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!rutgers!uwvax!puff!cat45!drew From: drew@cat45.CS.WISC.EDU (Shawn Drew) Newsgroups: comp.sys.mac.programmer Subject: Easy PICT question Message-ID: <2327@puff.cs.wisc.edu> Date: 24 Feb 89 23:48:10 GMT Sender: news@puff.cs.wisc.edu Reply-To: drew@cat45.CS.WISC.EDU (Shawn Drew) Distribution: usa Organization: U of Wisconsin CS Dept Lines: 34 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