[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Rect Behavior
- To: pygame-users <pygame-users@xxxxxxxx>
- Subject: [pygame] Rect Behavior
- From: Ian Mallett <geometrian@xxxxxxxxx>
- Date: Sun, 16 May 2010 12:25:32 -0700
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Sun, 16 May 2010 15:25:41 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=YfP3z4ixnTkgd4I2NldF1qAmvty8VjbJ/il+QuVRC/w=; b=YRn/yMOSFn1sNqSVsnIs3fV9H68oEdwHltCyLVy4iOTN1kmfNkZRCOHoKlk4XKNDtt bMxxGzuAzyruDeTxV8sRPtvirEcpA4xsEZoJDHrYc/ZeMKGasi79kiZ+0qp7n+/78xm1 AMazJL2F0TPZOYACoa/vo1pC/e9/A0auCr10s=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=q8dcPMaOx0CWLoycuNlUQRoDQwsXhFDkcc9p6TpufMxTHIcjw3ZW7wgo4xIbchsIrU MsIx0Y9w4/WZgCF0InFIBLpiOxLIdr9U8gIUbrScUOrqlsVypxgIuHP+izXk8COyCmFj fOKs8bVrATDOT26YW111LfUdTh0cAITzLv6Tg=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Hi,
So, I've noticed that, when trying to draw a n*1 or 1*n rectangle (yes I know a line does the job too) with pygame.draw.rect(...), the behavior is different for different fills. When the fill is 0, nothing draws! When the fill is 1, the desired rectangle is drawn. Is this the expected behavior of pygame.draw.rect(...)?
Thanks,
Ian