[metapost] question

Hartmut Henkel hartmut_henkel at gmx.de
Mon Oct 1 20:55:00 CEST 2018


Hi Walt,

On Mon, 1 Oct 2018, Walt Burkhard wrote:

> I have attached a MetaPost program that is suppose to smooth sharp corners.
> However, the program somehow does not know about the edges that it
> has just acquired. B B 
>
> What is going on here?

there is a local/global variable clash; you need to make pp[] local in
macro makeArc() by

 begingroup
  save pp; % <--------------------
  path pp[] , Pzero , Pone , ppp ;

Best Regards, Hartmut


More information about the metapost mailing list