Source

pygame / examples / blit_blends.py

Author Commit Message Labels Comments Date
Lenard Lindstrom
add array broadcasting to surfarray.blit_surface (pixelcopy.array_to_surface). Also do small ALSA related fix to array examples
Lenard Lindstrom
apply patch submitted by Christoph Gohlke to fix import problem in camera module and update some overlooked array examples to use NumPy instead of Numeric
Lenard Lindstrom
all standard modules build with Python 3.1. Optional movie module adapted. setup.py skips unsupported files for Python 3
illume
updated examples so that they all have a main() and use pygame.quit
Lenard Lindstrom
examples can be run from outside the examples directory
illume
added timing tests for special blend modes by pressing t
illume
An extra key o so you can test how fast alpha blits are in comparison.
illume
put a try/except around the numeric stuff.
illume
Some more changes to the blending stuff. A better example program now.
illume
The start of some new blitting functions. add/sub/mult/min/max. Not fully tested... Going to change some C apis around a little bit more too.