> Nonetheless, try setting HIGHPRECISION in that file and see whether
that fixes your problem.  I think it requires floating point.
> Even if your target doesn't, it would be interesting to see whether
this fixes the problem.
>
> Also look at the FIXME statement in GdArc(), perhaps we shouldn't be
incrementing ax, ay either...

I tried both suggestions without any difference. The FIXME is not even
executed (false if) so it does not make any difference.

I have a problem with drawing a pie from 182 to 187 degrees. It draws as
a full circle with nxlib. With X11 draws OK.
I traced the calls and this is the log:
drawArc: x=81, y=136, w=267, h=267, a1=182, a2=5, (182,187)
GdArcAngle: x0=214, y0=269, rx=133, ry=133, ax=-132, ay=4, bx=-132,
by=16, angle1=11648, angle2=11968
GdArc: the same

All of the numbers calculate correctly with some truncation from float
to int.
The only thing left to do is to clip and draw and I have no idea why
these numbers would cause the error.
Anyone knows?

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to