Re: [AD] A new do_ellipse function for 4.2 and 4.4

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On 2008-04-06, Paul Suntsov <siegelords_abode@xxxxxxxxxx> wrote:
> I have made a replacement function for allegro's do_ellipse. The old did not produce accurate
> ellipses. This one does so, and does so much more rapidly, as confirmed using a related thread on
> a.cc. Note that this uses some floating point calculations internally. They have almost no effect
> on the efficiency of the code, but may or may not pose problems for systems without an FPU.
> 
> In any event, the new function is attached. It should be a drop in replacement for the current
> function in gfx.c. I tested it extensively for lack of overdraw, and invalid parameters, and it
> passed all of those.
> 
> Also, this is not meant for the 4.9 branch. That one will have a separate, more advanced function.

Thanks for that.  I have committed it to the 4.3.10plus branch.

Peter





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/