home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / next / programm / 5652 < prev    next >
Encoding:
Text File  |  1992-08-16  |  1.4 KB  |  37 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!caen!nic.umass.edu!titan.ucc.umass.edu!a74k110
  3. From: a74k110@titan.ucc.umass.edu (Chris Lloyd)
  4. Subject: Re: Tracking the currentdocument
  5. Message-ID: <1992Aug16.223214.26436@nic.umass.edu>
  6. Sender: usenet@nic.umass.edu (USENET News System)
  7. Nntp-Posting-Host: titan.ucc.umass.edu
  8. Organization: University of Massachusetts, Amherst
  9. References: <1992Aug15.044803.13242@nic.umass.edu> <843@rtbrain.rightbrain.com>
  10. Date: Sun, 16 Aug 1992 22:32:14 GMT
  11. Lines: 24
  12.  
  13. In article <843@rtbrain.rightbrain.com> glenn@rightbrain.com writes:
  14. >Chris Lloyd writes
  15. >
  16. >> Get rid of this erase, it's pointless since you do a composite with COPY
  17. >> right after it which just blasts over the fill.
  18. >> >    PSsetgray(NX_WHITE);
  19. >> >    NXRectFill(&rects[0]);
  20. >> 
  21. >> >    [image composite:NX_COPY
  22. >> >              fromRect:&rects[0]
  23. >> >              toPoint:&rects[0].origin];
  24. >
  25. >That's not quite good advice. If there is alpha in the image being
  26. >composited, you'll get weird results on a color system if you don't
  27. >fill with white first (you get black wherever there was alpha).
  28.  
  29. HUH? With a COPY this will happen? Doesn't make sense to me at all....
  30.  
  31. I only thought this was a problem when people were erasing the background
  32. then Sovering...
  33.  
  34. Will someone send me a color system to see this on? :) :),
  35. -- 
  36. :: Christopher Lloyd :: a74k110@titan.ucc.umass.edu :: Yrrid, Inc. ::
  37.