Source

pygame / lib / surfarray.py

Author Commit Message Labels Comments Date
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.