tags:

views:

87

answers:

4

I'm looking for an API that works similarly to GDI+. I need to be able to fill paths, with a solid, gradient etc fill. I found the AGG library but I don't like its loose design. I like creating a Graphics object and having it append to my screen bitmap or off screen bitmap. Are their libraries that function this way and are cross platform? Thanks

+2  A: 

You might want to check Cairo and Skia, both have C/C++ API.

dark_charlie
+4  A: 

Qt has a very good C++ drawing API, see class QPainter, and it's cross platform and free (LGPL license).

Matias Valdenegro
+1  A: 

GDK is a good start (altough it may not be the best) and its C++ wrapper gdkmm. It's cross-platform and works AFAIK without GTK.

terminus