pygame2.sdlgfx.constants – Constants for SDL_gfx
This module contains the constants used throughout the pygame2.sdlgfx
modules.
FPS Constants
Those constants denote the FPS limites for the pygame2.sdlgx.FPSManager
class.
-
pygame2.sdlgfx.constants.FPS_UPPER_LIMIT
- The maximum frames per second allowed.
-
pygame2.sdlgfx.constants.FPS_LOWER_LIMIT
- The minimum frames per second allowed.
-
pygame2.sdlgfx.constants.FPS_DEFAULT
- The default frames per second to use.
Rotozoom Constants
The following constants are used for smoothing surfaces on rotozoom operations
within the pygame2.sdlgfx.rotozoom module.
-
pygame2.sdlgfx.constants.SMOOTHING_OFF
- Smoothing will not be used.
-
pygame2.sdlgfx.constants.SMOOTHING_ON
- Smoothing will be used.