[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] BUG: pygame.draw.arc



On Wed, 2006-08-02 at 22:03 +1000, Alex Holkner wrote:
> If a start angle of 0 or math.pi*3/2 is given, the returned update 
> rectangle does not include the right-most (for angle 0) or bottom-most 
> (for angle pi*3/2) pixel.  Other start angles, with arcs that cover 
> those same pixels, work correctly, as do end angles at those points.

Hmm, do you have any guesses why? The arc drawing was all contributed
code that I'm not framiliar with. If it is something simple like
rounding I could probably tweak it a little. It would take me some time
to get into the actual logic of it.