Easy to use drawing library in c or c++?
11,870
Solution 1
Cairo is a nice option if you are looking for ease of usage.
Solution 2
You can use one of the many C++ creative coding frameworks:
Solution 3
SDL is pretty nice. If you really want to get involved, Direct3D and OpenGL are probably the best options.
Solution 4
If you are working on Windows, try Direct2D, it's very powerful and equally simple to use.
More info at : http://msdn.microsoft.com/en-us/library/dd370990%28v=vs.85%29.aspx
Solution 5
Try SFML: http://www.sfml-dev.org/
Author by
Marco Molari
Updated on June 19, 2022Comments
-
Marco Molari almost 2 years
I'd need a very easy to use drawing c or c++ library. This means that I don't need to put buttons, frames or anything else in there, but I need just to draw points, circles, lines on a graphic window. Is that possible?
-
kalev almost 13 years... and it also has a C++ wrapper called cairomm.
-
cib almost 11 yearsTrouble with SDL is that, AFAIK, it has few geometry drawing operations and you'll likely have to fall back to setPixel. That said, pygame.org/docs/ref/draw.html does have what's needed, maybe there's a C/C++ library based on SDL somewhere that does the same?