File: pixelcopy_doc.h

package info (click to toggle)
pygame 2.6.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 43,076 kB
  • sloc: ansic: 66,932; python: 48,797; javascript: 1,153; objc: 224; sh: 121; makefile: 59; cpp: 25
file content (32 lines) | stat: -rw-r--r-- 1,317 bytes parent folder | download | duplicates (4)
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
/* Auto generated file: with makeref.py .  Docs go in docs/reST/ref/ . */
#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

*/