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