Re: [AD] About colors

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


On Mon, June 14, 2010 4:49 pm, Peter Wang said:
> No, it also makes perfect sense if you think of a pixel as a 1x1 square.
> To fill the square you need to start drawing from (x1,y1) and keep
> drawing right up to the other corner of the pixel at (x1+1, y1+1).
>
> I believe this way of thinking extends to 3D more naturally.

Well regardless of which way seems best (and there is not agreement
on that it seems), using width and height instead of end parameters
removes all guessing.

Trent :n)




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