home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!usc!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!mouse
- From: mouse@thunder.mcrcim.mcgill.edu (der Mouse)
- Subject: Re: Fast drawing
- Message-ID: <1992Jul25.105828.8191@thunder.mcrcim.mcgill.edu>
- Organization: McGill Research Centre for Intelligent Machines
- References: <BAGCHI.92Jul17222424@dip.eecs.um>
- Date: Sat, 25 Jul 92 10:58:28 GMT
- Lines: 18
-
- In article <BAGCHI.92Jul17222424@dip.eecs.um>, bagchi@eecs.umich.edu writes:
-
- > I need to fill in each pixels in my Window with an arbitrary color.
- > I've been doing several thousand XDrawPoint requests, which is
- > predictably slow.
-
- > Is there a faster way to do this?
-
- Yes. This is what the XImage structure and its associated functions
- are for. Unfortunately the image support is somewhat broken, mostly in
- the sense of there being no documented way to do some things, so
- writing code to work with images all too often amounts to UTSLing,
- where TS is either for Xlib or for other programs which use images.
-
- der Mouse
-
- mouse@larry.mcrcim.mcgill.edu
-