Mercurial > pygame
diff src/pixelarray.doc @ 866:ba268d059b00
Fixed exception messages in PixelArray. Added unit tests for PixelArray. Fixed doc strings for PixelArray.
| author | marcus |
|---|---|
| date | Sat, 29 Dec 2007 13:02:47 +0000 |
| parents | 4db78800a93a |
| children | 31fa129efd0f |
line wrap: on
line diff
--- a/src/pixelarray.doc Sat Dec 29 11:24:22 2007 +0000 +++ b/src/pixelarray.doc Sat Dec 29 13:02:47 2007 +0000 @@ -4,10 +4,9 @@ The PixelArray wraps up a Surface and provides a direct 2D array access to its pixels using the surface its rows as first and its columns as -second axis. It supports slicing, row and pixel manipluation and -buffered access using the buffer() method while inplace operations such -as addition, subtraction, multiplication, division and slice assignments -are not allowed. +second axis. It supports slicing, row and pixel manipluation while +inplace operations such as addition, subtraction, multiplication, +division and slice assignments are not allowed. During its lifetime, the PixelArray locks the surface, thus you explicitly have to delete it once its not used anymore and the surface
