[metapost] fullcircle in metapost language
Karel Horak
horakk at math.cas.cz
Fri Oct 19 19:17:32 CEST 2007
José Carlos Santos napsal(a):
>> as if the circle could not be scaled and shifted ! Why ? Did
>> something change in language specification ?
>
> I don't know, but it will accept
>
> cercle = fullcircle scaled (2*abs(As-I)) shifted I;
>
Syntactic rules did not changed:
cercle = fullcircle scaled 2*abs(As-I) shifted I;
is wrong, but
cercle = fullcircle scaled 2abs(As-I) shifted I;
(without not necessary star!) is OK, as of course
cercle = fullcircle scaled (2*abs(As-I)) shifted I;
with parentheses.
All the best,
Karel Horak
More information about the metapost
mailing list