[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Re: Triangle drawing bug



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.