On Fri, Aug 17, 2007 at 03:02:13PM +0200, John Eriksson wrote: > *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 >
I understand. You simply want to draw a cirle with a diameter that is an odd number. I just tested this myself, and the following lines of code produce circles that are exactly the same, to the pixel: pygame.draw.ellipse(somesurface, somecolor, (0,0,6,6)) pygame.draw.ellipse(somesurface, somecolor, (0,0,7,7)) My guess is that the diameter gets divided in half to find the radius using integer math, so 7/2 = 3 I tried passing a float as the diameter, but that did not help: pygame.draw.ellipse(somesurface, somecolor, (0,0,7.0,7.0)) --- James Paige
