Source

pygame / test / transform_test.py

Author Commit Message Labels Comments Date
illume
Mask can now get bounding rects of set bits. pygame.transform can find edges in an image, get the average surface of many surfaces and also threshold an image by color.
illume
Added smoothscale function from Richard Goedeken. Changed it to work with subversion pygame. Also made it take a destination surface argument like the other scale functions now do. ones. As well as releasing the GIL during processing for multiple threads.
illume
Added support to transform.scale and transform.scale2x so that a destination surface could be passed in and used instead of creating a new one each time.
illume
Added a test for set_alpha() use and transform.scale. To test if SRCALPHA settings are kept after scaling.