RaspiGFX
A simple 2D FrameBuffer graphics library in C/C++ for the Raspberry PI
...The Library supports graphics primatives such as:
Pixel, Line, Ellipse, Rectangle, Fill, Triangle, Polygon, CopyRect, Images, DoubleBuffering/Page Flips, XY origin, TTF Fonts (via public domain code)
Using 16-bit (R5-G6-B5) colour mode (at all available screen resolutions the PI supports) it allows for a relatively fast, colourful graphics API.
You need to be running in text only mode to use this library as it does not use the X windowing system for graphics. See raspi-config options to enable this boot option.
Compilation is simple see the "comptest" file for the command line options to make the test program.
...