Article View: comp.windows.x
Article #24746Colors and GXxor
From: Stephen McKay
Date: Fri, 08 Jan 1993 22:59
Date: Fri, 08 Jan 1993 22:59
12 lines
1000 bytes
1000 bytes
Sorry if this question is being repeated! Dear Xperts, I have created a DrawArea widget under motif and have colored the foreground of this region using Xcolor "DeepSkyBlue". The problem comes when I want to select the foreground color to use with rubberbanding. ie. a rectangle. What is the method fo selecting a foreground (x) color that when used with Xor, displays the desired color (y)? Note: If the DrawArea is XFillRectangle with "DeepSkyBlue" and I draw a line with logical function GXxor and foreground color = "White", the color of the line drawn is "DeepSkyBlue". Stephen McKay tangent1!stephen@pacinfo.bc.ca
Technical Details
Message-ID:
<9301082259.AA16974@questercorp>Path:
arc1-ca.pugleaf.net!sparky!uunet!enterpoop.mit.edu!bloom-beacon!INTERNET!dont-send-mail-to-path-linesShow Full Headers
Complete Article Headers
Newsgroups: comp.windows.x Path: arc1-ca.pugleaf.net!sparky!uunet!enterpoop.mit.edu!bloom-beacon!INTERNET!dont-send-mail-to-path-lines From: stephen@tangent1.UUCP (Stephen McKay) Subject: Colors and GXxor Message-ID: <9301082259.AA16974@questercorp> Sender: root@athena.mit.edu (Wizard A. Root) Organization: The Internet Date: Fri, 8 Jan 1993 22:59:14 GMT Lines: 12