C want to compile simple C graphics code.

hello unitrunker,

yes your recommendation not to use Xlib direct makes sense.
the other ways such like XCB or even MOTIF that i am learning have methods of creating
drawings with very less code lines.
 
Very true. In some ways, I do feel it would be useful to be able to draw to the frame buffer rather than require Xorg but at the same time I don't know why I feel this... Obviously there isn't much of a requirement for it haha.
Drawing directly to the framebuffer is mostly used in embedded devices, when there is only a single graphical application running. The Qt toolkit supports this with quite some success. However, it is currently quite Linux-centric.
 
Back
Top