jorgy@BOULDER.COLORADO.EDU (11/21/90)
I have a couple of bitmaps that I would like to draw on the screen using GXor. Both mono and 8 plane color monitors are available to me, and I would like to be able to use both, though I realize that the code must be modified slightly for each case. I assume it would be something like: if (DisplayPlanes(dpy,DefaultScreen(dpy)) == 1) then set up gc for mono else set up gc for color endif Let's say that the bitmap is something like: X X X X X X X X X X X X X X X X And we draw two of them that overlap: X X X X X X X X X X X X XX X X X X XX X X X X X X X X X X X X The problem is getting the gc's set right so that the overlap works right. Anyone have any experience with this? Thanks in advance, jorgy Eric R. Jorgensen internet: jorgy@boulder.colorado.edu University of Colorado, Boulder uucp: ...!{ncar|nbires}!boulder!jorgy Unixops/Distributed Computing Services bitnet: jorgy@colorado.BITNET