Month: January 2009

2D Graphics

I was searching for a nice 2D graphics library today, again, because I wanted to piece something together very quickly. My requirements were: Should be available for the Mac so that I could code with my MacBook Pro on my lap. Currently I really prefer this way of coding. Screw dual monitors! Crossplatform would be a plus so that I could continue coding on the PC if need-be. Should have a somewhat modern C++ API, i.e. SDL was out of the question. Should provide basic shape drawing functionality (e.g. circles, lines,…) and font support (TTF or at least bitmap fonts) innately. SDL disqualified again. Either mature enough to be almost bug-free or still under active development. I came up with something that was described as a “C++ version of SDL” somewhere. I must admit, this didn’t sound very promising to me at first, but when I digged a bit deeper, I became confident that this was what I was searching for. http://www.sfml-dev.org/ SFML has everything I need plus lots of other cool features. And the …