[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Re: Triangle drawing bug
- To: pygame-users@seul.org
- Subject: [pygame] Re: Triangle drawing bug
- From: Pete Shinners <pete@shinners.org>
- Date: Thu, 24 Jul 2003 09:10:50 -0700
- Delivered-to: archiver@seul.org
- Delivered-to: pygame-users-outgoing@seul.org
- Delivered-to: pygame-users@seul.org
- Delivery-date: Thu, 24 Jul 2003 12:13:56 -0400
- In-reply-to: <20030723231210.7890533C69@moria.seul.org>
- References: <20030723231210.7890533C69@moria.seul.org>
- Reply-to: pygame-users@seul.org
- Sender: owner-pygame-users@seul.org
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030714 Debian/1.4-2
It appears that there's a small problem with pygame.draw.polygon; when
drawing a triangle (with right and bottom sides orthogonal), it draws
outside the triangle's bounding rectangle: i.e. it adds one extra row at
the bottom and one extra column on the right.
If it's of interest, the drawing order given for input was bottom left,
top right, bottom right.
I haven't tried any other shapes, orders or directions (yet).
ok, this is not good. i'll make sure to look into this before doing
any big releases.