Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!decvax!crltrx!jg From: jg@crltrx.crl.dec.com (Jim Gettys) Newsgroups: comp.windows.x Subject: Re: clearing pixmaps Message-ID: <126@crltrx.crl.dec.com> Date: 10 Apr 89 14:59:37 GMT References: <11456@eddie.MIT.EDU> Reply-To: jg@crltrx.crl.dec.com.UUCP (Jim Gettys) Organization: DEC Cambridge Research Lab Lines: 9 In article <11456@eddie.MIT.EDU> eric@eddie.MIT.EDU (Eric Van Tassell) writes: > >What is the fastest way of clearing (setting all pixels to the background) >a pixmap? TIA.-- Pixmaps don't have backgrounds. So it doesn't make sense to talk about it that way. XFillRectangle will do what you want... (see Scheifler, Gettys, Newman, pages 118 and 131). - Jim