home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / programm / 21219 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  1.1 KB

  1. Path: sparky!uunet!wupost!waikato.ac.nz!canterbury.ac.nz!otago.ac.nz!jomar
  2. Newsgroups: comp.sys.mac.programmer
  3. Subject: Offscreen PixMaps: dumb question
  4. Message-ID: <1993Jan12.113345.501@otago.ac.nz>
  5. From: jomar@otago.ac.nz (John Marshall)
  6. Date: 12 Jan 93 11:33:45 +1300
  7. Organization: University of Otago, Dunedin, New Zealand
  8. Lines: 18
  9.  
  10. Sorry to ask such a dumb question, but here goes...
  11.  
  12. I am writing a small picture viewer for yet another totally unknown local
  13. file format (and for my own learning).  Anyhow, surprisingly enough, I want
  14. to decode the file into an offscreen (24-bit) pixmap and render that into
  15. the window whenever it needs updating.  Translated into Mac speak, it would
  16. seem that I can just allocate an offscreen PixMap and use CopyBits to put it
  17. in the window.
  18.  
  19. However, I've read IM IV (I can be System 7 only if I want) and been
  20. horrified by the incomprehensible talk of Offscreen Graphics Worlds and
  21. Offscreen CPorts and so on.
  22.  
  23. So any advice on whether I can just PixMap 'n' CopyBits or not, and maybe
  24. on books to read would be appreciated.
  25.  
  26. Thanks,
  27. John Marshall   (jomar@otago.ac.nz)
  28.