Projects / SDL_gfx

SDL_gfx

The SDL_gfx library offers several components: Graphic Primitives, Rotozoomer, Framerate control, and MMX image filters. The Primitives component provides basic drawing routines: pixels, hlines, vlines, lines, aa-lines, rectangles, circles, ellipses, trigons, polygons, Bezier curves, and an 8x8 pixmap font for drawing onto any SDL Surface. Full alpha blending, hardware surface locking, and all surface depths are supported. The Rotozoomer can use interpolation for high quality output.

Tags multimedia Graphics Software Development Libraries
Licenses LGPL
Operating Systems OS Independent
Implementation C

Tweet this project Short link

Rss Recent releases

Changes: A GCC 4.3 compiler patch for asm code in image filters, a fix for an off-by-one hline bug for 1 byte indexed surfaces, pkg-config support for SDL_gfx, and a change from INTERFACE_AGE and BINARY_AGE based on Debian build feedback. Zoom XY-flip code was fixed and made available for all modes in zoom and rotations. En edge issue on interpolated rotozoom modes was fixed. TestRotozoom custom test mode was updated. A delay parameter was added. Tests that include flipping were included. Negative rotation was added. libtool files and Makefile.mingw were updated.

  • Rrelease-mid
  •  21 Dec 2008 20:49
  • Rrelease-after

Changes: A libtool update for dependencies. MSVC C89 variable hoisting to enable MSVC compilation. The addition of a VC9 (Visual Studio 2008) project file. An update to the MinGW make file. A fix for uninitialized variables in _putPixelAlpha(). Reversion to the original alpha routine in _putPixelAlpha(), as the new one was causing issues in 16bbp. A colorkey handling patch for rotozoom. Optimization has been downgraded to -O for asm compatibility with gcc4.

  • Rrelease-mid
  •  06 Jun 2008 10:29
  • Rrelease-after

Changes: hline/vline clipping and swap-logic were fixed. A clipping box dimension check was added. Clipping checks were optimized. The TestFonts program was updated. Documentation on cross-compilation/AMD64 was updated. circleColor overdraw was fixed. The arcColor routine was added. polygonColorMT and polygonTextureMT routines were added. The 32-bit alpha blending routine was updated.

  • Rrelease-mid
  •  05 Feb 2007 18:51
  • Rrelease-after

Changes: This release adds a custom RGBA blitter function that sets/maintains target alpha, a setAlpha function that sets alpha values in 32-bit surfaces, and a TextGfxBlit test program for new functions. There are several fixes and "cosmetic" changes.

  • Rrelease-mid
  •  22 Dec 2006 09:52
  • Rrelease-after

Changes: Multiple small bugfixes in the library and the test programs.

360676dff45a309c84c8b90b12d2b632_thumb

Project Spotlight

Evolutility

A lightweight framework for heavy lifting; a metadata-driven CRUD framework for ASP.net.

No-screenshot

Project Spotlight

zsh debugger

A debugger for zsh.