tags:

views:

127

answers:

4

There are some particular API's in Java that make it very good. However I would prefer C++ because of performance and "bleeding" edge support with OpenGL and OpenAL among the many libraries.

Which API's are there that are similar to Java2D (I know I can use OpenGL however I lack the matrix math understanding to fully use OpenGL in this way)? Also which GUI framework (non-native; platform independent) is the most used in C++?

+2  A: 

If you want platform independent GUI framework for C++ check Qt.

Incognito
It's called Qt, not QT. Qt = Q toolkit, pronounced "cute"; QT = QuickTime.
iconiK
@iconik : Updated :)
Incognito
+1  A: 

I can't speak much for Java2D equivalents but as far as GUI frameworks go, I've heard of two:

wxWidgets: http://www.wxwidgets.org/

Qt: http://qt.nokia.com/products/

Both of these are cross-platform and I believe widely used.

Brad Gardner
It's called Qt, not QT. Qt = Q toolkit, pronounced "cute"; QT = QuickTime.
iconiK
miss typed, fixed. :)
Brad Gardner
+2  A: 

FLTK, Fast Light Tool Kit has some 2d functionality. It's somewhat like swing and 2d mixed together. It does focus more on the UI aspect but it may help you out.

http://www.fltk.org/

Mike
That is what Stroustroup uses for graphics in his new Swan C++ programming book. See Ch12 on this page:http://www2.research.att.com/~bs/programming.html
daveangel
Mike
A: 

Try GTK--. It has some features that make it a bit nicer an API than either wx or Qt.

Noah Roberts