Could you create a transform rect like function that returns the transformed state?
>>> t(20, 20, 20, 20) (1,1,1,1) >>> t(20, 20) (1,1) pygame.draw.line(s, t(20,20)) I don't know about adding that into every pygame function... that sounds like too much work.