Issue #233 new
pygame.draw.ellipse does not draw ellipses with odd sizes
Reported by Florian Krause on the pygame mailing list:
I was actually wrong. It seems even worse. Pygama is not capable to draw ellipses with odd sizes at all. It will always be the same ellipse as x-1, y-1. E.g. an elipse with size 3,3 will result in the same ellipse as the one with size 2,2. Can anyone reproduce this?
Code to reproduce:
import pygame pygame.init() screen = pygame.display.set_mode((100, 100)) pygame.draw.ellipse(screen, (255,0,0), (0,0,5,5)) pygame.display.update()
The resulting ellipse will have a 4x4 size