SDL gfx
lastmod 2026-11-10created 2015-06-143 edits
SDL_gfx is an extension library that adds basic shape drawing to the SDL library. It provides graphics primitive functions for drawing points, lines, rectangles, circles, ellipses, polygons, and Bézier curves, along with anti-aliasing, surface rotation and scaling (rotozoom), and frame rate control. It filled the gap left by the lack of a shape drawing API in the SDL 1.2 era; for SDL2 there is SDL2_gfx.