Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #2010

Re: Constant line thickness after scale

From Mark Carroll <mtbc@bcs.org>
Newsgroups comp.lang.postscript
Subject Re: Constant line thickness after scale
Date 2014-09-03 19:35 +0100
Organization none
Message-ID <87oauw5z7a.fsf@ixod.org> (permalink)
References <871trs1tlw.fsf@Equus.decebal.nl> <0ba7d7d7-5aba-4799-8dff-48a251f4ec7e@googlegroups.com>

Show all headers | View raw


abeddie <abeddie@hotmail.com> writes:

> Reverse the scale before calling stroke:
>
> 0  dup  4  0  360  arc   closepath   .25 1 scale stroke

That's really neat, I had never seen that: scaling the line's path
without actually affecting the stroked line like that. I wonder where
else I should have used this but didn't know to.

-- Mark

Back to comp.lang.postscript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Constant line thickness after scale Cecil Westerhof <Cecil@decebal.nl> - 2014-09-03 19:50 +0200
  Re: Constant line thickness after scale abeddie <abeddie@hotmail.com> - 2014-09-03 11:26 -0700
    Re: Constant line thickness after scale Mark Carroll <mtbc@bcs.org> - 2014-09-03 19:35 +0100
    Re: Constant line thickness after scale Cecil Westerhof <Cecil@decebal.nl> - 2014-09-04 10:42 +0200
      Re: Constant line thickness after scale ken <ken@spamcop.net> - 2014-09-04 10:16 +0100
  Re: Constant line thickness after scale Mark Carroll <mtbc@bcs.org> - 2014-09-03 19:34 +0100
  Re: Constant line thickness after scale tlvp <mPiOsUcB.EtLlLvEp@att.net> - 2014-09-03 20:46 -0400

csiph-web