Next: Video, Previous: Introduction, Up: The (sdl *) Modules [Contents][Index]
The external representation of a Pixel Format object is:
#<SDL-Pixel-Format palette depth ck a chan>
where palette is the number of colors in the palette, or ‘-1’ if no palette is available; depth is the bits per pixel; ck is the hex value of the colorkey; a is the alpha value (0-255, inclusive); and chan is a concatenation of ‘R’ when there is a red mask, ‘G’ when there is a green mask, ‘B’ when there is a blue mask, and ‘A’ when there is an alpha mask.
Initialize SDL and the subsystems/configuration represented by sel (see init flags).
Initialize the SDL subsystems represented by sel.
sel is a list of flags (symbols)
from the same set useful for init
.
Shut down all SDL subsystems.
Return #t
.
Shut down the SDL subsystems represented by sel.
sel is a list of flags (symbols)
from the same set useful for init
.
Return #t
.
Check if the SDL subsystems represented by sel have
been initialized. sel is a list of flags (symbols)
from the same set useful for init
. Return a list
likewise composed.
Return the number of milliseconds since the SDL library initialization.
Wait ms milliseconds.
Return the current SDL error string.
Next: Video, Previous: Introduction, Up: The (sdl *) Modules [Contents][Index]