Re: [gtk-list] Line Drawing



>     I'd like to develop an application for drawing simple molecular
>  structures but I'm stuck at the starting gate. How does one draw a
>  straight line, erase a drawn line, change the colour of the line and
>  change the colour of the background? Admittedly, I haven't read the
>  tutorial cover to cover but there doesn't seem to be anything about these
>  questions there. Any help is much appreciated.

The easiest thing may be to use the GnomeCanvas widget.  There is
partial documentation for it, but you can get good examples of its use
from the rest of the Gnome sources.

  Federico



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]