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

Re: [pygame] mapping logical coordinate ????



Sibtey Mehdi wrote:
      pygame.draw.rect (worksurf, (255, 0, 0), (3000, 2000, 3400, 2400), 1)

Note that the tuple you pass to pygame functions expecting a rect
is (left, top, width, height), not (left, top, right, bottom)
as you seem to be using here.

--
Greg