🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #1183

Re: Tracking the currentdocument

#1183
From: Chris Lloyd
Date: Sun, 16 Aug 1992 22:32
24 lines
1446 bytes
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. ::
Technical Details
Message-ID: <1992Aug16.223214.26436@nic.umass.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!caen!nic.umass.edu!titan.ucc.umass.edu!a74k110
References: <1992Aug15.044803.13242@nic.umass.edu> <843@rtbrain.rightbrain.com>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!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