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

Re: [pygame] Odd size circles?





On 17/08/07, John Eriksson <john@xxxxxxxxxxxx> wrote:
Hi,

It doesn't seem to be possible to draw circles with a uneven diameter.

I tried to use pygame.draw.ellipse but that couldn't draw circles with
an uneven diameter either.

Is this a limit in pygame or sdl??

Best Regards
/John

If the diameter is uneven it's not a circle it's an ellipse and the way to get
an oval basically is to pass in a rectangular rect as opposed to a square.
HTH
Adam.