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