zoukankan      html  css  js  c++  java
  • 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.

  • 相关阅读:
    [Python] Python基础字符串
    [android] 手机卫士绑定sim卡
    [Laravel] Laravel的基本数据库操作部分
    [android] 手机卫士手势滑动切换屏幕
    [android] 手机卫士界面切换动画
    [android] 手机卫士设置向导页面
    [javaEE] Servlet的手动配置
    [android] 手机卫士保存密码时进行md5加密
    [android] 手机卫士自定义对话框布局
    [Laravel] Laravel的基本使用
  • 原文地址:https://www.cnblogs.com/shaoguangleo/p/2805782.html
Copyright © 2011-2022 走看看