On Mon, 30 Apr 2001, Secret Squirrel wrote:
> Thanks for your suggestion Jamie, I
> really wouldn't know where to begin with
> drawing graphics on a Linux system.
>
> I will definately add TCL/Tk to my list
> of "things to look out for" but I
> actually want to learn the C language
> and draw graphics at the same time so
> I can learn C by drawing graphs and
> math curves.
>
> However some day I may want to draw a
> simple graph for example and not "code"
> it in C, perhaps this is where TCL/Tk
> will be suitable. Right now I don't
> think i'll be able to find the time
> to learn a new scripting language
Ah, but the beauty of Tcl/Tk is it's integration
with C.
One of the annoying things about GUIs/drawing in C
is the shear amount of code you have to write to do basic
things. I sympathise with your desire to not have to learn
a new language, but any drawing toolkit will likely have a large
API that needs to be mastered, even before you can do something
simple like draw a line.
BTW, also look at evas. (search on freshmeat) This has a nice
canvas model, which, surprisingly looks like the primatives that
Tk relies on.
For complete GUI toolkits, there are also Qt and Gtk. These more
directly C++/C based (with other language bindings).
Good luck
Jamie
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug