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

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



On Sat, Oct 10, 2009 at 1:57 PM, Aaron Brady <castironpi@xxxxxxxxx> wrote:
For single occurrence:
import pygame
pygame.init( )
print pygame.version.ver
s= pygame.Surface( ( 20, 20 ) )
rec= pygame.draw.line( s,
   ( 255,0,0 ),
   ( 10, 16 ),
   ( 7, 0 ),
   2 )
 rec is wrong for many thicknesses.  Is this a bug?