Welcome to pycsdl2’s documentation!¶
pycsdl2 is a low-overhead, compiled SDL2 binding for CPython. It aims to provide the familiar C API of SDL2, while offering several Pythonic features such as automatic memory management, bounds checking and exceptions.
This is the documentation for pycsdl2 2.0.0.0.dev5, last generated December 14, 2016.
- API Reference
- Initialization and Shutdown
- Display and Window Management
- Blend modes
- Surface Creation and Simple Drawing
- 2D Accelerated Rendering
- Pixel Formats and Conversion Routines
- Rectangle Functions
- Event Handling
- Scancode Constants
- Keycode and Key Modifier Constants
- Audio Device Management, Playing and Recording
- File I/O Abstraction