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

  1. Path: sparky!uunet!olivea!charnel!sifon!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!bloom-beacon!INTERNET!dont-send-mail-to-path-lines
  2. From: mahan@TGV.COM (Patrick L. Mahan)
  3. Newsgroups: comp.windows.x
  4. Subject: RE: Initializing Bitmap's
  5. Message-ID: <921121211553.77e002e6@TGV.COM>
  6. Date: 22 Nov 92 05:15:53 GMT
  7. Sender: root@athena.mit.edu (Wizard A. Root)
  8. Organization: The Internet
  9. Lines: 15
  10.  
  11. #
  12. #Is there way to initialize a bitmap to say all 0's , without
  13. #doing without loading it from a data file.  I am drawing on the Pixmap,
  14. #of depth 1, but I getting garbage at locatiuons I have not drawn.
  15. #        Any quick way to do this?  Thanx.
  16.  
  17. Create a XImage with the data set to all zeros.
  18.  
  19. Patrick L. Mahan
  20.  
  21. --- TGV Window Washer ------------------------------- Mahan@TGV.COM ---------
  22.  
  23. Waking a person unnecessarily should not be considered  - Lazarus Long
  24. a capital crime.  For a first offense, that is            From the Notebooks of
  25.                               Lazarus Long
  26.