Re: [AD] Subpixel Accurate Circles etc

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


--- Elias Pschernig <elias@xxxxxxxxxx> wrote:

> On Sun, 2008-02-10 at 13:42 -0800, Ryan Dickie wrote:
> > Yes it certainly does.. so the solution is to add 0.5 pixels to the
> > radius each time?
> 
> In A5, the radius is a floating point number, so there it should not
> matter - users can draw both the left and right circle.
> 

Wait... But if I look at the already present graphics routines I see stuff like this:

void _al_draw_rectangle_memory(int x1, int y1, int x2, int y2, ALLEGRO_COLOR *color, int flags);
void _al_draw_line_memory(int x1, int y1, int x2, int y2, ALLEGRO_COLOR *color);

Which is clearly not float based... Do those need to be rewritten to use floating points then as well?


      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping




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