nanogui: Arc drawing not working


Previous by date: 13 Nov 2007 00:57:58 +0000 Re: How to adjust character distance of a ttf font, Greg Haerr
Next by date: 13 Nov 2007 00:57:58 +0000 Re: nano-x actively maintained?, Greg Haerr
Previous in thread: 13 Nov 2007 00:57:58 +0000 Arc drawing not working, Martin Kajdas
Next in thread: 13 Nov 2007 00:57:58 +0000 Re: Arc drawing not working, Martin Kajdas

Subject: Re: [nanogui] Arc drawing not working
From: "Greg Haerr" ####@####.####
Date: 13 Nov 2007 00:57:58 +0000
Message-Id: <011b01c82590$2e512f90$6401a8c0@winXP>

> I know that there was a problem with arcs around 180 deg but my arcs are
a few degrees away from 180, and arcs around 180 work fine.
Larger arcs also work fine, it occurs only for small arcs (4-5 degrees)
close to 180 (2-3 deg) but not crossing 180.


I thought I had all the arc routines fixed, but it seems not.  This
code, in engine/devarc.c, probably needs a complete rewrite.

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...

Regards,

Greg

Previous by date: 13 Nov 2007 00:57:58 +0000 Re: How to adjust character distance of a ttf font, Greg Haerr
Next by date: 13 Nov 2007 00:57:58 +0000 Re: nano-x actively maintained?, Greg Haerr
Previous in thread: 13 Nov 2007 00:57:58 +0000 Arc drawing not working, Martin Kajdas
Next in thread: 13 Nov 2007 00:57:58 +0000 Re: Arc drawing not working, Martin Kajdas


Powered by ezmlm-browse 0.20.