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

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!bu.edu!dartvax!Joe.Francis
  2. From: Joe.Francis@dartmouth.edu (Joe Francis)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: CopyBits question
  5. Message-ID: <1992Sep13.234931.13824@dartvax.dartmouth.edu>
  6. Date: 13 Sep 92 23:49:31 GMT
  7. References: <1992Sep11.001409.13276@cs.cornell.edu>  
  8.  <1992Sep11.184624.10765@waikato.ac.nz>
  9. Sender: news@dartvax.dartmouth.edu (The News Manager)
  10. Organization: Dartmouth College, Hanover, NH
  11. Lines: 11
  12. X-Posted-From: InterNews1.0a4@newshost.dartmouth.edu
  13.  
  14. In article <1992Sep11.184624.10765@waikato.ac.nz>
  15. ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University) writes:
  16.  
  17. > This is easy, provided the offscreen pixmap is an indexed one. In an indexed
  18. > pixmap, a pixel represents white because it indexes into a CLUT entry containing
  19. > white. Want that pixel value to represent a colour other than white? Just
  20. > change the CLUT entry!
  21.  
  22. But if that also happens to be the CLUT of the current gDevice, and
  23. white happens to be the background color of the current gDevice, won't
  24. this technique cause the entire CopyBits result to be colorized?
  25.