[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Odd size circles?
*smile*
What I ment with an uneven diameter was that I would like to draw
circles with the diameter set to, for example, 3 - 9 - 17 - 33 etc.
Maybe my English isn't all that understandable ;-)
/John
fre 2007-08-17 klockan 13:57 +0100 skrev Adam Bark:
>
>
> 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.
>
>
>