Path: utzoo!attcan!uunet!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU (Bob Scheifler) Newsgroups: comp.windows.x Subject: Re: Help with Drawing Pixmaps using Xlib Message-ID: <8910041743.AA07208@expire.lcs.mit.edu> Date: 4 Oct 89 17:43:06 GMT References: <39467@bu-cs.BU.EDU> Sender: root@bloom-beacon.MIT.EDU Organization: The Internet Lines: 19 Use XCopyPlane always so you don't have to worry about the depth of the other pixmap. Reasonable if the bitmap is "colorless" and you're applying the colors externally. Less confusing to use XCopyArea if the image is already "colored". Now for a question: what do the GC foreground and background specifiers do on an XPutImage command? They do what you want. An XYBitmap PutImage is equivalent to your sending the data to a bitmap and then using CopyPlane. but the destination must be the same depth (ie 1) so I'm kind of confused as to what they do. No such restriction for XYBitmap.