home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / mac / programm / 15531 < prev    next >
Encoding:
Internet Message Format  |  1992-09-15  |  997 b 

  1. Path: sparky!uunet!gatech!concert!borg!bach!lari
  2. From: lari@bach.cs.unc.edu (Humayun Lari)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: LockPixels() before every CopyBits()?
  5. Message-ID: <15368@borg.cs.unc.edu>
  6. Date: 16 Sep 92 00:07:10 GMT
  7. References: <1992Sep11.213220.23039@alias.com> <1992Sep12.232233.4076@desire.wright.edu>
  8. Sender: news@cs.unc.edu
  9. Organization: The University of North Carolina at Chapel Hill
  10. Lines: 12
  11.  
  12. In article <1992Sep12.232233.4076@desire.wright.edu> jmatthews@desire.wright.edu writes:
  13. >IM VI just says use GetGWorldPixMap without much explanation. I've
  14. >imagined this makes a difference with GWorlds on graphic accelerators
  15. >or temporary memory, but I don't really know.
  16.  
  17. I seem to remember reading somewhere that GetGWorldPixMap is recommended
  18. so that your code works on machines that do not have Color Quickdraw
  19. (e.g. Classics under 7.x), since a GWorldPtr on such machines points to an
  20. extended GrafPort rather than a CGrafPort.
  21.  
  22. Humayun Lari
  23. (lari@cs.unc.edu)
  24.