home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / programm / 13064 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  996 b 

  1. Path: sparky!uunet!wupost!uwm.edu!ogicse!reed!nobody
  2. From: lust@reed.edu!lust.reed.edu!pcalahan (Patrick John Calahan)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: help with SetPortPix needed
  5. Message-ID: <m0mCbC8-00000eC@lust.reed.edu>
  6. Date: 27 Jul 92 19:57:30 GMT
  7. Article-I.D.: lust.m0mCbC8-00000eC
  8. Sender: pcalahan@reed.edu (Patrick John Calahan)
  9. Organization: Reed College, Portland, OR
  10. Lines: 12
  11.  
  12. I am having trouble using SetPortPix.  I want to temporarily
  13. set the portpixmap to an offscreen pixmap, do some drawing there, and
  14. then switch back to do normal screen drawing again.  I've
  15. done this with bitmaps and SetPortBits, but am having troubles with
  16. pixmaps.  I think my trouble might be just in grabbing the original
  17. portpix before switching it.  It's a handle (unlike portbits), and I'm
  18. a little confused as to how to deal with it.
  19. I just want to have a global pixmaphandle which i can always pass to  
  20. SetPortPix to resume screen drawing.  
  21.  
  22. confused and appreciative of any help,
  23. pat
  24.