Daniel H. Luecking
luecking at uark.edu
Thu Sep 15 20:27:46 CEST 2016
The syntax is
envelope <polygonal pen> of <path primary>
p := envelope pensquare of (up--left);
It returns the path which, when filled, produces the effect of stroking
the pen along the path. Elliptical pens (e.g., pencircle) produce an error.
Stroking an elliptical pen is simply passed on to PostScript. But polygonal
pens (inherited from metafont) require this as a workaround.
I deduced this by a little trial and error based on some descriptions in
the web source mp.w.
Daniel H. Luecking [luecking at uark.edu]
Department of Mathematical Sciences
1 University of Arkansas
Fayetteville, AR, USA 72701-1201
From: metapost <metapost-bounces at tug.org> on behalf of Nicola <nvitacolonna at gmail.com>
Sent: Thursday, September 15, 2016 7:44 AM
To: metapost at tug.org
Subject: [metapost] envelope
quick question: 'envelope' is a MetaPost's spark (not documented in the
An old note of mine says that it was introduced in mpost 1.003. What is it for?
Could you make an example of how to use it?
More information about the metapost