Article View: comp.lang.postscript
Article #4798Re: Stroking thick lines about arcs
From: jon.peticolas
Date: Thu, 21 Feb 1991 22:54
Date: Thu, 21 Feb 1991 22:54
31 lines
1382 bytes
1382 bytes
From article <1991Feb20.161757.24206@motcad.portal.com>, by jtc@motcad.portal.com (J.T. Conklin):
> I have been observing that stroking an arc with a ``thick'' line results
> in some areas of white peeking through the line --- especially about the
> outside perimeter --- on two independant PostScript implementation.
(stuff deleted)
> /inch { 72 mul } def
> /radius 3.5 inch def
> /points 27 def
> 4.25 inch 5.5 inch translate
> points 1.5 mul setlinewidth
> newpath
> 0 0 radius points 3 div add 0 360 arc
closepath % Works for me
> stroke
> showpage
The closepath operator tells postscript that the ends of the path are
to be joined with a mitered connection. If they are not actually the
same point, the path will be completed with a straight line. This detail
is covered in chapter 3 of the Adobe blue book (in my admittedly outdated
copy anyway). Additional line joining details are covered in chapter 10.
-Jon
Technical Details
Message-ID:
<1991Feb21.225435.15664@cbnewsh.att.com>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!linac!att!cbnewsh!jlpReferences:
<1991Feb20.161757.24206@motcad.portal.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!linac!att!cbnewsh!jlp From: jlp@cbnewsh.att.com (jon.peticolas) Newsgroups: comp.lang.postscript Subject: Re: Stroking thick lines about arcs Message-ID: <1991Feb21.225435.15664@cbnewsh.att.com> Date: 21 Feb 91 22:54:35 GMT References: <1991Feb20.161757.24206@motcad.portal.com> Organization: AT&T Bell Laboratories Lines: 31