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