SDL_bgi 2.1.0

SDL_bgi is a graphics library based on SDL2. SDL_bgi is nearly fully compatible with BGI (graphics.h), the Borland Graphics Interface that was the de-facto standard in PC graphics back in DOS days. It's very easy to use, pretty fast, and it also provides extensions for ARGB colours, mouse support, and turtle graphics. It should run on any platform supported by SDL2.

Tags c library graphics x11
License Zlib
State stable

Recent Releases

2.1.002 Jan 2018 13:29 minor feature: This release adds CMake support for GNU/Linux and Makefile support for Windows (MSYS2 + mingw-w64) and Mac OS X.
2.0.815 Nov 2016 14:25 minor bugfix: This release fixes a minor bug in palette handling.
2.0.709 Nov 2016 12:52 minor bugfix: This release fixes a minor bug in event() and implements eventtype().
2.0.601 Mar 2016 07:06 minor bugfix: This release fixes a bug in writeimagefile(), implements clipping in readimagefile(), extends turtle graphics, and improves the documentation.
2.0.523 Dec 2015 09:03 minor bugfix: This release implements fill patterns in fillpoly() and fixes a minor bug in getch(). SDL_bgi is now functionally complete.
2.0.402 Dec 2015 10:56 minor bugfix: This release improves the functions ellipse() and kbhit(), and adds xkbhit(). Graphics is now implemented using an array of SDL_Surfaces instead of system RAM.
2.0.328 Sep 2015 07:32 major feature: This release provides minimal dos.h and conio.h, fixes minor issues with kbhit(), and implements screen refreshes in kbhit() and getch() for improved compatibility with old programs.
2.0.203 Jun 2015 12:38 major feature: This release implements fill patterns, setfillpattern(), getfillpattern(), and writeimagefile(). The documentation was updated.
2.0.112 May 2015 07:01 major feature: This release implements line patterns and floodfill() improvements. The documentation was updated.
2.0.007 May 2015 10:13 major feature: This release has been rewritten to use SDL2 only (no more SDL_gfx dependency). Some minor enhancements were also implemented.
1.0.111 Dec 2014 08:25 major bugfix: This release fixes some bugs in putpixel(), getimage(), putimage(), and kbhit().
1.0.007 Nov 2014 10:29 major feature: This is the initial release of SDL_bgi.