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

  1. Path: sparky!uunet!cis.ohio-state.edu!ucbvax!mtxinu!taniwha!paul
  2. From: paul@taniwha.UUCP (Paul Campbell)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: Top byte of 24-bit offscreen gworld?
  5. Message-ID: <1262@taniwha.UUCP>
  6. Date: 8 Sep 92 07:06:08 GMT
  7. References: <28628@vedge.UUCP> <1992Sep4.181047.16762@primerd.prime.com> <1992Sep4.201711.16186@cs.uoregon.edu>
  8. Organization: Taniwha Systems Design
  9. Lines: 29
  10.  
  11. In article <28628@vedge.UUCP> brad@vedge.com (Brad Fowlow) writes:
  12. >Can anyone say how quickly or terribly things might
  13. >go awry if I try to keep some extra info in the top 8 bits
  14. >of the pixel data of a 24-bit offscreen gworld?
  15. >
  16. >That byte is awfully tempting as a place for alpha stuff.
  17. >And for the moment I'm not too concerned with how the code
  18. >will react under system 12; I just don't want sneaking 
  19. >randomness to show up next week. 
  20. >Have I missed something in IM6 that unequivocally rules
  21. >this out, or permits it?  Has anyone else been similiarly tempted?
  22.  
  23. Well you can go ahead and put data in the top byte BUT don't expect QuickDraw
  24. to do anything usefull with it .... despite what IM sais a later note in
  25. Develop said recently that you should NOT depend on CopyBits preserving
  26. that byte - even if it dows now it might not in the future - or in all
  27. the circumstances you can test today.
  28.  
  29. All 24-bit cards I know of that ship today do NOT preserve the top eight
  30. bits a pixel - but then they aren't GWorlds and you can't get usefull data
  31. on there with out CopyBits anyway
  32.  
  33.     Paul
  34.  
  35. -- 
  36. Paul Campbell    UUCP: ..!mtxinu!taniwha!paul     AppleLink: CAMPBELL.P
  37.  
  38.        "Most American's day to day experience of 'Family Values' is found in
  39.     brightly colored fliers from such organisations as Target and K-Mart."
  40.