Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!ames!ncar!ico!auto-trol!marbru From: marbru@auto-trol.UUCP (Martin Brunecky) Newsgroups: comp.windows.x Subject: Re: Rubberbanding woes too! Keywords: xor drawing decwindows Message-ID: <862@auto-trol.UUCP> Date: 7 Oct 90 15:56:52 GMT References: <277@sps.com> Reply-To: marbru@auto-trol.UUCP (Martin Brunecky) Organization: Auto-trol Technology, Denver Lines: 30 In article <277@sps.com> wwb@sps.com (Bud Bach) writes: > >Like a previous poster (Mark A. Horstman), I too am having problems >with rubberbanding on a non-MIT server. The server is the DECWindows >server that comes with VMS 5.3. H/W is a VaxStation GPX 4 plane >monochrome. > >My test program works fine on both color and mono MIT X11R4 servers on >Sun 3/60's. > >On the DECWindows server there appears to be a problem with drawing >using xor mode -- no output. Copy mode works fine. Has anyone else >observed this problem or am I doing something stupid?-- Most likely the last one. I have no problems with rubberbanding etc, but most people who do NOT think what Xor mode does, and ASSUME that all servers will use pixels 0,1 as black and white GET BURNED. All you have to do is: drawing_pixel = background_pixel Xor desired_rubberband_foreground. and then draw or copy plane or... using Xor mode and drawing_pixel. Naturally, you get different color where you cross non-background, but you can't have it all for that cheap -). -- =*= Opinions presented here are solely of my own and not those of Auto-trol =*= Martin Brunecky marbru@auto-trol.COM (303) 252-2499 {...}ncar!ico!auto-trol!marbru Auto-trol Technology Corp. 12500 North Washington St., Denver, CO 80241-2404