Re: Feature Request: Get envelope of path stroked with arbitrary pen
"Daniel H. Luecking" <[email protected]> Fri, 9 Feb 2018 18:44:59 +0000
| Newsgroups | gmane.comp.tex.metapost |
|---|---|
| Message-ID | <DM5PR04MB0828C90483E8BDA1BB9CD920B9F20@DM5PR04MB0828.namprd04.prod.outlook.com> |
It has always (as far as I know) been possible to get the envelope of a polygonal pen by setting tracingspecs positive and examining the .log file. Not sure how long envelope as an operator has been available. Probably just as long, but in secret. As already mentioned, metapost doesn't do envelopes for pencircle. Luigi's example approximates an elliptical pen by a polygonal one, which is probably good enough if one chooses the approximation correctly (e.g., one might want to pick points where tangent directions of the ellipse match directions of key points of the path being stroked.) Cheers, Daniel H. Luecking [[email protected]] Department of Mathematical Sciences 1 University of Arkansas Fayetteville, AR, USA 72701-1201 ________________________________ From: metapost <[email protected]> on behalf of luigi scarso <[email protected]> Sent: Friday, February 9, 2018 7:19 AM Cc: MetaPost List Subject: Re: [metapost] Feature Request: Get envelope of path stroked with arbitrary pen On Fri, Feb 9, 2018 at 1:58 PM, Hans Hagen <[email protected]> wrote: > On 2/9/2018 1:11 PM, Karel wrote: >> >> Nice, Luigi, >> but the envelope seems to be quite new and not yet documented in mp >> manual? > > it's more "old and still experimental" awaiting to be tested before being > declared a documented feature I will add a paragraph for the next texlive. -- luigi -- https://urldefense.proofpoint.com/v2/url?u=http-3A__tug.org_metapost_&d=DwICAg&c=7ypwAowFJ8v-mw8AB-SdSueVQgSDL4HiiSaLK01W8HA&r=TC6doj34eEZMeTCOMVYeIK4ttwYpTurqDpMOi43sP18&m=xz9UsPq632qr2stg_1vqrskahGBRZ3qITID6xADK5qo&s=tX6ua41YfuskIrR7z0Ys4O88kVdVrkNLnHbwfZdJknM&e= -- http://tug.org/metapost/