home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / windows / x / 14386 < prev    next >
Encoding:
Text File  |  1992-07-25  |  1.1 KB  |  28 lines

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