Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!tcdcs!bofin!cjmchale From: cjmchale@cs.tcd.ie (Ciaran McHale) Newsgroups: comp.windows.x Subject: Re: Remembering Graphics Message-ID: <1991Mar25.121708.7261@cs.tcd.ie> Date: 25 Mar 91 12:17:08 GMT Article-I.D.: cs.1991Mar25.121708.7261 References: <9103211805.AA00981@neuro_dev.mayo.EDU> <1991Mar24.180043.9052@cs.tcd.ie> Organization: DSG, Dept. of Comp. Sci., Trinity College, Dublin. Lines: 22 In <1991Mar24.180043.9052@cs.tcd.ie> I wrote: >[...] >What you can do is have a pixmap for the image data. Also have a >_bitmap_ (a 1 bit deep pixmap) into which you will draw the text and >lines. To get the image & text/lines into a window you use XCopyArea() >to copy the image data from the pixmap and then use XCopyPlane() to copy >from the bitmap into the window. The GC used in XCopyPlane() should: > > o [...] > o [...] I forgot to say: o The `function' component of the GC should be GXCopy (the default). Ciaran. -- Ciaran McHale "Verbosity says it all" ____ Department of Computer Science, Trinity College, Dublin 2, Ireland. \ / Telephone: +353-1-772941 ext 1538 FAX: +353-1-772204 \/ Telex: 93782 TCD EI email: cjmchale@cs.tcd.ie