Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!GARNET.BERKELEY.EDU!rusty From: rusty@GARNET.BERKELEY.EDU Newsgroups: comp.windows.x Subject: Re: putting XYBitmap in 8plane window? Message-ID: <8904202232.AA27226@garnet.berkeley.edu> Date: 20 Apr 89 22:32:23 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: Computer Center, UC Berkeley Lines: 20 From: rws@EXPO.LCS.MIT.EDU (Bob Scheifler) Newsgroups: comp.windows.x Subject: Re: putting XYBitmap in 8plane window? Date: 20 Apr 89 11:54:45 GMT Organization: The Internet Can anyone explain how to write a one plane bitmap to a single plane of a window of depth 8? If the bitmap is in an XImage on the client side, it's format should be XYBitmap, and you should set the plane_mask in the GC to have just the single plane of intereset set. You will also want the corresponding bit in both the foreground and background pixels of the GC set appropriately. That all sounds nice but us blockheads were wondering if you could you provide an example of setting the plane_mask and the "corresponding bit in both the foreground and background pixels..."?