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