Source

pygame / lib / surfarray.py

Author Commit Message Labels Comments Date
Lenard Lindstrom
Let _numpysurfarray.blit_array and make_surface methods accept float arrays ( closes #81 )
Lenard Lindstrom
Move surfarray.make_surface into pixelcopy so can create the new surface from array interface information. This allows surface creation from non-array arrays (PixelArray will be sprouting an array interface shortly.)
Lenard Lindstrom
Using Numeric by default now issues a deprecation warning. Fix hanging pointer bug in color.c.
Lenard Lindstrom
Merge the surface_buffer branch back into trunk.
Lenard Lindstrom
Merge the buffer branch back into trunk.
Lenard Lindstrom
upgrade numpy handling to Python 3.x
Lenard Lindstrom
adapt mask module for Python 3.1
Lenard Lindstrom
numpy now takes priority over Numeric in sndarry and surfarray
Lenard Lindstrom
new _arraysurfarray module. blit_array bug 24 fix.
marcus
Added get_arraytype() to sndarray and surfarray for querying the active array type. Renamed use_array() to use_arraytype().
marcus
Added numpy support for the sndarray module. BufferProxy now contains a length property, which indicates the length of the buffer in bytes.
marcus
Fixed surfarray.make_surface() and surfarray.blit_array() bugs as reported by Lenard Lindstrom.
marcus
Put numpyarray and the (old) surfarray under pygame.surfarray. Added methods to switch between numpy and Numeric usage.