home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / windows / x / 19476 < prev    next >
Encoding:
Internet Message Format  |  1992-11-23  |  808 b 

  1. Path: sparky!uunet!mcsun!uknet!lsl!snail
  2. From: snail@lsl.co.uk
  3. Newsgroups: comp.windows.x
  4. Subject: Re: Initializing Bitmap's
  5. Message-ID: <1992Nov23.161844.2672@lsl.co.uk>
  6. Date: 23 Nov 92 15:18:44 GMT
  7. References: <1eem4rINNl0c@uwm.edu> <1992Nov20.095641.20594@thunder.mcrcim.mcgill.edu>
  8. Organization: Laser-Scan Ltd., Cambridge
  9. Lines: 12
  10.  
  11. In article <1992Nov20.095641.20594@thunder.mcrcim.mcgill.edu>, mouse@thunder.mcrcim.mcgill.edu (der Mouse) writes:
  12. > So just set up a GC to get 0s in the destination drawable (eg,
  13. > foreground=0 and function=GXcopy, or foreground=~0 and
  14. > function=GXandInverted) and do an XFillRectangle of the whole pixmap.
  15.  
  16. Or just function = GXclear, works for me.
  17. -- 
  18. snail@lsl.co.uk      
  19.  
  20. "para-phrasing an American's .sig"....
  21. For the record, I did not vote for Bill Clinton
  22. :-)
  23.