~pygame/pygame/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/* Auto generated file: with makeref.py .  Docs go in src/ *.doc . */
#define DOC_PYGAMEPIXELCOPY "pygame module for general pixel array copying"

#define DOC_PYGAMEPIXELCOPYSURFACETOARRAY "surface_to_array(array, surface, kind='P', opaque=255, clear=0) -> None\ncopy surface pixels to an array object"

#define DOC_PYGAMEPIXELCOPYARRAYTOSURFACE "array_to_surface(<surface>, <array>) -> None\ncopy an array object to a surface"

#define DOC_PYGAMEPIXELCOPYMAPARRAY "map_array(<array>, <array>, <surface>) -> None\ncopy an array to another array, using surface format"

#define DOC_PYGAMEPIXELCOPYMAKESURFACE "pygame.pixelcopy.make_surface(array) -> Surface\nCopy an array to a new surface"



/* Docs in a comment... slightly easier to read. */

/*

pygame.pixelcopy
pygame module for general pixel array copying

pygame.pixelcopy.surface_to_array
 surface_to_array(array, surface, kind='P', opaque=255, clear=0) -> None
copy surface pixels to an array object

pygame.pixelcopy.array_to_surface
 array_to_surface(<surface>, <array>) -> None
copy an array object to a surface

pygame.pixelcopy.map_array
 map_array(<array>, <array>, <surface>) -> None
copy an array to another array, using surface format

pygame.pixelcopy.make_surface
 pygame.pixelcopy.make_surface(array) -> Surface
Copy an array to a new surface

*/