[metapost] problem with negative's angle ?

Taco Hoekwater taco at elvenkind.com
Mon Mar 10 09:43:50 CET 2014


Hi Christophe,

On 08 Mar 2014, at 08:04, Christophe Poulain <chrpoulain at gmail.com> wrote:

> Hi,
> I'm a french user of Metapost and i've discovered this problem.
> 
> %>------------------------
> prologues:=2;
> 
> beginfig(1);
>   path cc;
>   cc=fullcircle scaled 3cm;
>   draw cc;
>   for i=0 upto 11:
>     label(decimal(i),point(arctime(((90-i*30)/360)*arclength cc) of cc) of cc);
>     endfor;
> endfig;
> 
> end
> %>--------------------------
> 
> There isn't number if "the angle" is negative.

There was a bug in arctime. Found & fixed.

Best wishes,
Taco





More information about the metapost mailing list