You should look into Mesa. This is an OpenGL equivalent that runs under Linux.
You can use it without 3D accelleration but it will be much better running on a
graphics card.
Quake is written in OpenGL. You can draw in 2D by not providing the 3rd axis
that is 'into'
the screen. You have the graphics primitives that you need there.
http://www.mesa3d.org
"W.H. Dekker" wrote:
> Jorge Zuluaga wrote:
> > How can I do a graphic program in Linux, i.e. how can i draw a
> > "yellow line from (0,0) to (100,100)" ??...
> >
> > I am a C programmer and I know very well how to do this in DOS using
> > Borland C with the graphics library, but I want to do the same in
> > LINUX...
>
> You could think of using my Simplot package of plot rutines for
> C-programmers. It also features an interpreter; look on my website
> under software
>
> --
> Hartelijke groet, Wybo Dekker
> ___________________Servalys Analytical Chemistry Services__________________
> [EMAIL PROTECTED] | Deilsedijk 60 | tel +31-345-652164
> www.hobby.nl/~servalys | 4158 CH Deil, The Netherlands | fax +31-345-652383
> -
> To get out of this list, please send email to [EMAIL PROTECTED] with
> this text in its body: unsubscribe suse-linux-e
> Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
> archiv at http://www.suse.com/Mailinglists/suse-linux-e/index.html
-
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archiv at http://www.suse.com/Mailinglists/suse-linux-e/index.html