[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Maybe a bug in pygame.draw.circle?
- To: pygame-users@xxxxxxxx
- Subject: [pygame] Maybe a bug in pygame.draw.circle?
- From: "Hugo Ruscitti" <hugoruscitti@xxxxxxxxx>
- Date: Thu, 1 May 2008 13:05:48 -0300
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Thu, 01 May 2008 12:05:53 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=PYVmzs3WHrrebjYmYE/O51pnAq9QuUHkqmjxxdLczsU=; b=Z1f106svk2ZwJ+TeaEgmFXQA46QtaHC3kXoKgyRzDKuyxE5szsWaztSQa/dQnjrN69E/rZ/jtg5risQc0zV0dHsuRUlktyid3qvvZjZwMRtDnLtXTEq1YqvHaVkL+CN9eCjd+QWu6raSC4fkLdSw3mEPl0WRV2X+9O9XQHHkeFU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=HjwGgNWmd3qv7lwgiiVp22gp/peuafDM23T317ouuu07l1Zp986uCj/d1YvoimeO9YIAsjp34Wl4N0pR+X/FAM1yZ5vEQfzi7PI2x04F8rjON7O0s85MeSL5WXswnwFU3yqgOTAgSCLZU3WDr6IUl6l1jInfU1JvyzpJrpHFhHc=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hi, we found a posible bug in "pygame.draw.circle" function using
pygame1.8 (we don't try with
other versions).
When we set a circle border, the "pygame.draw.circle" function puts
some little pixels
like noise. This is a screenshot of the posible bug:
http://www.losersjuegos.com.ar/incoming/descargas/20080501/circle_border.png
and this is a sample code:
--- %< ---
import pygame
WHITE = (255, 255, 255)
position = 100, 100
screen = pygame.display.set_mode((320, 240))
pygame.draw.circle(screen, WHITE, position, 50, 20)
pygame.display.flip()
pygame.time.wait(1000)
--- %< ---
note that when remove the 50 value of border, the circle will draw fine:
http://www.losersjuegos.com.ar/incoming/descargas/20080501/circle_fill.png
Thanks!
--
Hugo Ruscitti
www.losersjuegos.com.ar