Best 2D C ++ API?

I am looking for a nice 2D C ++ API. I looked at the SDL, but I was hoping for something higher, like pygame or cocoa, with the exception of C ++. Another thing is that it must have Linux support. Any ideas?

+4
source share
4 answers

Try Allegro . In particular, the release of Allegro 5. It received support for OpenGL / DirectX and many "add-ons", such as zip reading functions, downloading all kinds of images, advanced sound support, etc. Binary files are also available.

Its a bit more "high level" than SDL, but not by much. Check it out and decide for yourself.

+3
source

Theres not such a thing as the "best 2D C ++ API." Anyway, look at openFrameworks if you prefer a high-level library.

http://www.openframeworks.cc/

It uses OpenGL and is also available for Linux.

+3
source

Look at this database of the game engine , see which of them support 2D graphics operations (graphic column). Another useful resource is the DevMaster.net 3D engine, try the advanced search here .

0
source

SFML contains some nice 2D drawing primitives. By default, OpenGL is used for acceleration; if this problem, a lower level library like Cairo is very good.

Besides the ones that lie on my head, I can only think of Qt , which supports such things as well.

0
source

Source: https://habr.com/ru/post/1332161/


All Articles