🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #2009

gray area with white hole in it (fails)

#2009
From: David Jaffe
Date: Fri, 28 Aug 1992 14:34
17 lines
1016 bytes
I want a disk, shaded gray, with a small white hole in the center.
The following code should work, but for some reason produces a ragged
hole in the center.  Why?  Is there a general way to overwrite gray with white?
[This is code for a 300 dpi printer - TI Microlaser Plus.]

300 400 translate

50 0 moveto 0 0 50 0 360 arc
gsave currentscreen 3 1 roll pop pop 75 0 3 2 roll setscreen 0.95 setgray
fill grestore stroke

0.2 setflat 0 0 newpath 2.5 0 360 arc 1 setgray fill 0 setgray 1 setflat

showpage

David Jaffe (jaffe@hoss.unl.edu)
University of Nebraska - Lincoln
Technical Details
Message-ID: <1992Aug28.143436.18969@unlinfo.unl.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!unlinfo.unl.edu!hoss!jaffe

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.postscript
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!moe.ksu.ksu.edu!unlinfo.unl.edu!hoss!jaffe
From: jaffe@hoss.unl.edu (David Jaffe)
Subject: gray area with white hole in it (fails)
Message-ID: <1992Aug28.143436.18969@unlinfo.unl.edu>
Sender: news@unlinfo.unl.edu
Nntp-Posting-Host: hoss.unl.edu
Organization: University of Nebraska - Lincoln
Date: Fri, 28 Aug 1992 14:34:36 GMT
Lines: 17