[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pygame] bugs in pygame.draw.circle



Doug Partridge writes:
 > 
 > I've found what I believe are bugs in pygame.draw.circle.

I don't see this behavoir here. The following script runs without
error and produces the expected output:

>>> import pygame
>>> import pygame.draw
>>> pygame.init()
(4, 0)
>>> screen = pygame.display.set_mode((400, 300))
>>> retval = pygame.draw.circle(screen, (255, 255, 255), (100, 100), 50, 2)
>>> print retval
<rect(50, 50, 100, 100)>
>>> pygame.display.flip()
>>> retval = pygame.draw.circle(screen, (255, 255, 255), (100, 280), 50, 2)
>>> print retval
<rect(50, 230, 100, 100)>
>>> pygame.display.flip()
>>>

Debian 2.2, SDL 1.2.2, Pygame 1.2 from source, Python 2.0.1.

-- 
David
Futility on #pygame at irc.openprojects.com


____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org