Path: utzoo!attcan!uunet!lll-winken!ames!mailrus!tut.cis.ohio-state.edu!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU (Bob Scheifler) Newsgroups: comp.windows.x Subject: Re: CLX draw-rectangle with TILING question Message-ID: <8902012233.AA03353@EXPIRE.LCS.MIT.EDU> Date: 1 Feb 89 22:33:47 GMT References: <8902012202.AA05301@armageddon> Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 17 What I would like to be able to do is to supply a depth 1 tiling pixmap and have the server replicate the tile on the destination no matter what depth the destination is. You still haven't made precise what you mean in this case, in terms of exactly how the destination is affected. However, I'll assume from your later reference to copy-plane that what you mean is "use the foreground and background pixels and the bitmap to construct a real tile (essentially doing an opaque stipple), and then use that tile". The problem then is that, for a destination of depth 1, there is an ambiguity: is the "tile" actually a tile, or should it be reconstituted using the foreground and background pixels? Rather than trying to figure out how to resolve this ambiguity, the burden is placed back on you to construct the tile yourself (e.g. by doing a :bitmap put-image into the tile, or by doing a copy-plane into it). It only takes a few lines of code to do this.