home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / programm / 13985 < prev    next >
Encoding:
Internet Message Format  |  1992-08-14  |  1.5 KB

  1. Path: sparky!uunet!usc!wupost!bcm!lib!oac2
  2. From: cshotton@oac.hsc.uth.tmc.edu (Chuck Shotton)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: Blitting PixMaps with a mask
  5. Message-ID: <cshotton-140892085848@oac2.hsc.uth.tmc.edu>
  6. Date: 14 Aug 1992 14:02:13 GMT
  7. References: <14279@mindlink.bc.ca>
  8. Sender: usenet@lib.tmc.edu
  9. Followup-To: comp.sys.mac.programmer
  10. Organization: Academic Computing
  11. Lines: 26
  12. Nntp-Posting-Host: oac2.hsc.uth.tmc.edu
  13.  
  14. In article <14279@mindlink.bc.ca>, John_Miller@mindlink.bc.ca (John Miller)
  15. wrote:
  16. > In Message <cshotton-130892083933@bmb8.med.uth.tmc.edu>,
  17. > cshotton@oac.hsc.uth.tmc.edu (Chuck Shotton) writes
  18. > > I have a color image on a white background, residing happily in
  19. > > a gworld.  I'd like to blit that image (without the white
  20. > > background) over another complex background. I KNOW I can do this
  21. > > with no problem if I use a region that matches the outline of the
  22. > > color image and CopyBits.
  23. > I don't think you need a region or a mask.  Specify "transparent"
  24. > mode in the call to CopyBits.  (IM Volume V page 61)
  25.  
  26. Thanks, that works like a champ. I'd tried it with CopyDeepMask, and didn't
  27. like the "see thru" results and guess I never bothered to try it with plain
  28. ol' CopyBits.
  29.  
  30. --_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
  31. Chuck Shotton                      |    
  32. Ass't Director, Academic Computing |       "This space for rent."
  33. UT Health Science Center Houston   |  
  34. cshotton@oac.hsc.uth.tmc.edu       |         
  35. _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
  36.