Groups | Search | Server Info | Login | Register
Groups > comp.lang.postscript > #3778
| Newsgroups | comp.lang.postscript |
|---|---|
| Date | 2022-07-21 12:02 -0700 |
| References | <a31725cf-9984-4c06-b541-bee4c215626cn@googlegroups.com> <62351448-10c4-45c7-a2b7-7d71ac7d03aan@googlegroups.com> <6fudnUECfJxtwkT_nZ2dnUU7_83NnZ2d@giganews.com> |
| Message-ID | <06a35d75-fbcd-46f2-b6bf-99d277bf64d7n@googlegroups.com> (permalink) |
| Subject | Re: ArcPrecise, an accurate arc |
| From | jdaw1 <jdawiseman@gmail.com> |
> so programmers have no surprises when they use ArcPrecise.
Good desideratum.
I’m coming to the view that ArcPrecise should have an extra parameter, which could be one of three values:
✪ `/l` ⟹︎ `arc`-style `lineto`;
✪ `/m` ⟹︎ `moveto`, especially useful if previous command was `closepath`;
✪ `/n` ⟹︎ nothing, presumably because the currentpoint is already the start of the curve.
The compulsory extra parameter prevents surprises.
> Advice: 'ArcPrecise' should have the same API as 'arc'.
Good desideratum. And
`/arc {/l ArcPrecise} def`
would work as you require.
Would this extra final parameter, `/l` | `/m` | `/n`, satisfy everybody?
Back to comp.lang.postscript | Previous | Next — Previous in thread | Next in thread | Find similar
ArcPrecise, an accurate arc jdaw1 <jdawiseman@gmail.com> - 2022-07-19 12:47 -0700
Re: ArcPrecise, an accurate arc jdaw1 <jdawiseman@gmail.com> - 2022-07-20 11:25 -0700
Re: ArcPrecise, an accurate arc David Newall <davidn@davidnewall.com> - 2022-07-21 18:29 +1000
Re: ArcPrecise, an accurate arc John Reiser <vendor@BitWagon.com> - 2022-07-21 07:17 -0700
Re: ArcPrecise, an accurate arc jdaw1 <jdawiseman@gmail.com> - 2022-07-21 12:02 -0700
Re: ArcPrecise, an accurate arc luser droog <luser.droog@gmail.com> - 2022-07-21 14:31 -0700
Re: ArcPrecise, an accurate arc jdaw1 <jdawiseman@gmail.com> - 2022-07-21 15:00 -0700
Re: ArcPrecise, an accurate arc jdaw1 <jdawiseman@gmail.com> - 2022-07-21 15:24 -0700
Re: ArcPrecise, an accurate arc jdaw1 <jdawiseman@gmail.com> - 2022-07-22 00:58 -0700
Re: ArcPrecise, an accurate arc Phil Wakely <pwakely99@googlemail.com> - 2022-07-22 01:42 -0700
Re: ArcPrecise, an accurate arc Phil Wakely <pwakely99@googlemail.com> - 2022-07-22 01:52 -0700
Re: ArcAccurate, an accurate arc jdaw1 <jdawiseman@gmail.com> - 2022-07-22 14:03 -0700
Re: ArcAccurate, an accurate arc jdaw1 <jdawiseman@gmail.com> - 2022-07-24 09:02 -0700
Re: ArcPrecise, an accurate arc jdaw1 <jdawiseman@gmail.com> - 2024-01-22 11:07 -0800
csiph-web