Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU (Bob Scheifler) Newsgroups: comp.windows.x Subject: Re: putting XYBitmap in 8plane window? Message-ID: <8904202348.AA16119@EXPIRE.LCS.MIT.EDU> Date: 20 Apr 89 23:48:22 GMT References: <8904202232.AA27226@garnet.berkeley.edu> Sender: daemon@ucbvax.BERKELEY.EDU Lines: 9 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..."? (I don't normally have time to gift wrap things ... :-) If the plane you want is plane N (numbered from zero), you set the plane mask to (1L << N), and you set foreground to (1L << N) and background to 0 (or vice versa, depending on how you want the image to appear).