sdl_gfx
« Back to VersTracker
Description:
Graphics drawing primitives and other support functions
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Multimedia
Tags: sdl graphics multimedia gamedev vector-drawing
Install: brew install sdl_gfx
About:
SDL_gfx provides a suite of additional graphics functions for SDL applications, including drawing primitives like lines, circles, and polygons. It also offers essential support utilities such as framerate management and image rotation. This library extends the core SDL functionality, making it easier to create 2D visuals without external dependencies.
Key Features:
  • Drawing primitives (points, lines, rectangles, circles, arcs, polygons)
  • Framerate control and timing functions
  • Image rotation and scaling capabilities
  • Bezier curve drawing
Use Cases:
  • Developing 2D games requiring vector shape rendering
  • Creating data visualizations or plotting graphs in real-time applications
  • Prototyping graphical user interfaces without a heavy framework
Alternatives:
  • SDL2_image – Focuses on loading various image formats (PNG, JPG) rather than runtime drawing primitives.
  • Cairo – A more comprehensive 2D graphics library with anti-aliasing, but heavier and not SDL-native.
Version History
Detected Version Rev Change Commit