A
A
Alexey Pomogaev2014-12-10 10:13:46
linux
Alexey Pomogaev, 2014-12-10 10:13:46

A simple 2d graphics library for C under Linux?

I am writing a programming textbook, I want to smoothly move from simple C to Java and OOP. But I haven’t worked in C for a long time, and now I would need a simple library for displaying lines, points, squares, painting these shapes, with buffering for animation - I don’t need more. So that there is no kilometer-long initialization code, as with OpenGL.
Preferably under Linux, but if anything goes under Windows.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
B
bromzh, 2014-12-10
@Foror

SDL

E
Eddy_Em, 2014-12-10
@Eddy_Em

OpenGL using wrappers like GLUT is delicious!

N
Nikolai Pavlov, 2014-12-10
@gurinderu

glfw

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question