[metapost] fullcircle in metapost language

Mojca Miklavec mojca.miklavec.lists at gmail.com
Fri Oct 19 16:06:09 CEST 2007


On 10/19/07, Pierre Lorenzon wrote:
>
> Hi,
>
> Excuse me if this question already occured many times on the
> list but I am an occasional metapost user and did not know the
> existence of this list before today.
>
> Following metapost code :
>
>   cercle = fullcircle scaled 2*abs(As-I) shifted I;

This should be
   cercle = fullcircle scaled (2*abs(As-I)) shifted I;
otherwise metapost interprets it as
   cercle = (fullcircle scaled 2)*abs(As-I) shifted I;

Mojca


More information about the metapost mailing list