the scaling of pics in pygame

alex23 wuwei23 at gmail.com
Wed Apr 2 06:52:33 EDT 2008


On Apr 2, 12:44 pm, Jimmy <mcknight0... at gmail.com> wrote:
> I am using Pygame to write a small program. I tried to load a .jpg
> picture into
> the screen, however, the size of the pic doesn't fit into the window
> properly. Can
> anyone tell me how to scale the picture into the window?

Have you tried the Pygame documentation?

http://www.pygame.org/docs/ref/transform.html#pygame.transform.scale

- alex23




More information about the Python-list mailing list