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

Re: [pygame] draw.line bounding box bug when width>1



Thanks Rolf,

There is definitely a problem with pygame.draw.line and I will give your patch a try. What is missing is a good unit test to define the expected behavior. I will write one up.

Lenard Lindstrom

Rolf Sievers wrote:
I just realized that won't work - I didn't exchange the line ends properly
try this patch

Rolf Sievers schrieb:
meh...
I guess I can make a patch even if I can't compile. Some work for my little Tortoise.
Could someone with a compiler tell me if it works?
I used a temp variable here and fixed a line that was broken in my last mail.