home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!lccinc!sram
- From: sram@lccinc.UUCP (Siddharth Ram)
- Newsgroups: comp.windows.x
- Subject: Re: GXcopy and GXxor
- Summary: controlling colors for an XOR ..
- Message-ID: <81@hallofjustice.UUCP>
- Date: 26 Jul 92 18:36:48 GMT
- References: <xia.711911424@odin> <MICHAEL.920724095149@maine.maine.EDU>
- Organization: LCC Inc., Arlington VA
- Lines: 21
-
- In article <MICHAEL.920724095149@maine.maine.EDU>, michael@maine.maine.edu (Michael Johnson) writes:
- > In article <xia.711911424@odin> xia@molbio.ethz.ch (Xia Tai-he) writes:
- > >However, the lines drawn with the second GC don't have
- > >the color I have set, whose colors differ depending on the
- > >objects alreay existing on the screen. Could you give
- >
- > There's not really much you can do about it. When you XOR the pixels, the
- > resulting pixel value is going to yield whatever color that pixel maps to.
-
- you can do something about it, provided you are willing to
- use up an overlay plane, or install you own colormap. then you
- would have control over all the colorcells.
-
- an excellent reference for this Ken Lee's article ,
- "Graphics effects by manipulating X Colormaps"
- in the X Journal, May -June 1992.
-
- Siddharth Ram
- uunet!hallofjustice!sram
- --
- .signature not included (empty)
-