Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!shelby!snorkelwacker.mit.edu!bloom-beacon!dont-send-mail-to-path-lines From: mouse@lightning.mcrcim.mcgill.EDU Newsgroups: comp.windows.x Subject: Re: draw color image Message-ID: <9102081529.AA00604@lightning.McRCIM.McGill.EDU> Date: 8 Feb 91 15:29:13 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 23 >> I am not sure what you mean her. A pixmap is an X drawable, which >> means that *all* of the standard Xlib drawing routines work on a >> pixmap just like they do on a window. [I.e. a pixmap is essentially >> an undisplayable window (I would almost say an output-only window)] > Be aware that pixmaps use server (memory) resources. This fact is > very important when using you IBM-PC as an X server. (If, not when, at least in my case :-) > Though efficient from a programmer's standpoint, pixmaps should only > be used sparingly. XImages recopied to the window make more sense > (resource-wise). *May* make more sense, depending on the resource mix available. Sometimes network bandwidth is more precious than server memory. However, for many applications it's pretty much an academic question, because there is no way to draw into an XImage, so the only alternative is to use a Pixmap. der Mouse old: mcgill-vision!mouse new: mouse@larry.mcrcim.mcgill.edu