federico@actisb.UUCP (Federico Heinz) (01/31/89)
I just received this message, pointing out two such obvious bugs in
yahp2ps that I'm going to hide under my bed right away. I'm sorry I
can't attribute the mail correctly, but I didn't find the poster's full
name anywhere.
-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-
From pyramid!utai!calgary!ajfcal!tony Tue Jan 31 06:10:37 1989
Received: by actisb.UUCP; Tue, 31 Jan 89 06:10:36 +0100; AA06841
Organization: ACTIS in Berlin GmbH, W. Germany
Received: by pyramid.pyramid.com (5.60/OSx4.4-880707)
id AA27903; Mon, 30 Jan 89 11:14:44 PST
Received: by neat.ai.toronto.edu with UUCP id 38066; Mon, 30 Jan 89 10:48:12 EST
Received: by calgarycpsc.UCalgary.CA (smail2.5)
id AA26268; 29 Jan 89 01:46:40 MST (Sun)
From: calgary!ajfcal!tony
To: calgary!utai!pyramid!actisb!federico
Subject: changes to yahp2ps
Date: Sat, 28 Jan 89 20:45:10 EST
Message-Id: <89Jan30.104812est.38066@neat.ai.toronto.edu>
Status: OR
Hello Federico:
In your yahp2ps system, I noticed the following in mchinery.c:
^^^^^^^^^^
void doHRArc(center, radius, startAngle, sweepAngle)
*new: CoordinatePair center; ---+ add these two
*new: Number radius, startAngle, sweepAngle; ---+ lines.
{ if (UserMode)
distortSpace();
writeCoordinatePair(center);
...
in shade.c:
^^^^^^^
CommandImplementation shadeRectRelative()
{ CoordinatePair corner;
if (getCoordinatePair(corner))
{ corner[X] = PenPosition[X] + corner[X];
corner[Y] = PenPosition[Y] + corner[Y];
*new: doShadeRectangle(corner, FillType, FillSpacing, FillAngle);
*old: doShadeRectangle(corner); <---- original line replaced by above
}
endCommand();
}
I hope these changes are correct???????
thankyou.... tony....
-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-
--
Federico Heinz "I can resist anything but temptation"
-- Oscar Wilde
From Europe: ...!mcvax!unido!tub!actisb!federico
From elsewhere: ...!uunet!pyramid!/