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: <8910041226.AA05387@expire.lcs.mit.edu> Date: 4 Oct 89 12:26:49 GMT References: <31687@ucbvax.BERKELEY.EDU> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 14 1) Set the clipmask to the pixmap to be displayed. 2) Set the clip origin to the coordinates where I want the pixmap to be displayed. 3) Set the fill_style to FillSolid Without thinking too hard, this oughta work, but it's an awfully twisted way to get the job done. If you're going 1-bit to 1-bit, just use XCopyArea. If you're going 1-bit to N-bit, just use XCopyPlane. (BTW, you fail to set the ClipMask in the case when you already have a gc, can't tell if that's your problem or not. If you're running an MIT R3 server and you think it's buggy, send a complete program demonstrating the bug to xbugs@expo.)