On Wed, Oct 8, 2008 at 8:54 AM, kschnee <[EMAIL PROTECTED]> wrote:
>
> <code>
> ## Create an SDL window for graphics, and draw a blue square.
> import pygame
> screen = pygame.display.set_mode((800,600))
> pygame.draw.rect((42,42,200,200),(0,0,255),0)) ## Parameter order might be
> wrong
> pygame.display.update()
> </code>

pygame.draw.rect(screen,(0,0,255),(42,42,200,200),0)

Ian

Reply via email to