sdl2.sdlgfx
py-sdl2 provides bindings for SDL2_gfx, an unofficial addon library for SDL2 that contains a range of useful functions for rendering shapes, frame pacing, and SDL surface manipulation.
Note that unlike the other SDL2 modules supported by this package, SDL2_gfx is not an official part of the SDL2 project.
Table Of Contents
FPSManager
SDL_initFramerate
SDL_setFramerate
SDL_getFramerate
SDL_getFramecount
SDL_framerateDelay
pixelColor
pixelRGBA
hlineColor
hlineRGBA
vlineColor
vlineRGBA
lineColor
lineRGBA
aalineColor
aalineRGBA
thickLineColor
thickLineRGBA
rectangleColor
rectangleRGBA
roundedRectangleColor
roundedRectangleRGBA
boxColor
boxRGBA
roundedBoxColor
roundedBoxRGBA
circleColor
circleRGBA
arcColor
arcRGBA
aacircleColor
aacircleRGBA
filledCircleColor
filledCircleRGBA
ellipseColor
ellipseRGBA
aaellipseColor
aaellipseRGBA
filledEllipseColor
filledEllipseRGBA
pieColor
pieRGBA
filledPieColor
filledPieRGBA
trigonColor
trigonRGBA
aatrigonColor
aatrigonRGBA
filledTrigonColor
filledTrigonRGBA
polygonColor
polygonRGBA
aapolygonColor
aapolygonRGBA
filledPolygonColor
filledPolygonRGBA
texturedPolygon
bezierColor
bezierRGBA
gfxPrimitivesSetFont
gfxPrimitivesSetFontRotation
characterColor
characterRGBA
stringColor
stringRGBA
rotozoomSurface
rotozoomSurfaceXY
rotozoomSurfaceSize
rotozoomSurfaceSizeXY
zoomSurface
zoomSurfaceSize
shrinkSurface
rotateSurface90Degrees