Graphics Programming on linux using C--用c语言开发图形界面
在浏览www.linuxquestions.org的时候,看到一篇关于Graphics Programming on linux using C的帖子,感觉不错,特来分享一下。
下载关于图形开发的VC,C#,java,QT等IDE大行其道。不过还是有一部分默默无闻的人偏爱着用pure代码来描绘着自己的世界。
我这里推荐几个,大家可以search一下相关的内容,下面即为keyword。
OpenGL
PGPLOT
GTK
KDE
GLUT
FLTK
ncurses
xlib
QT
SDL等
some Info:
SDL is a good library and used by game developers.
You can also use OpenGL for 3d stuff, but be warned that performance will be poor unless X use 3d accelerated drivers. Otherwise it will use Mesa indirect.
svgalib (www.svgalib.org) is easy to use, but people tend to overlook it because it doesn't fit in well with the modern X graphics paradigm. I have a program (experix project in sourceforge) that plots graphs and writes text using a svgalib-based graphics server.
GTK+: can be a little overwealming but I was able to understand it alot better then xlib. It is slower tho i will admit.
never tried svgalib before but thanks for the link ill have to check that out.
GTK+: will confuse you on all its diffrent versions as well and for larger apps it can get a little confusing on what does what or how this is related to that.
ncurses: is cool but can be a freekin nightmare. i still dont understand colums
and rows
Qt: dont know anything about this think i made a program with it before i Knew anything about C
xlib: Try if you dare you might find it more understandable then me. Never could get my hello world program to display.