Re: how to draw curves

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

 



2007/5/28, dashikugua@xxxxxxx <dashikugua@xxxxxxx>:
> Hi all:
>
> My application is using gtk to design the GUI for an Arbitrary/Function
> Generator. So I need to draw lots of curves, including sine wave, ramp wave,
> pulse wave, noise wave......and their modulation waves, e.g. the AM, FM, PM,
> FSK and so on.
> My problem is that I haven't found a good method to draw these waves. I have
> used GDK to draw sine wave on the GtkDrawingArea. But I found this method is
> a little complicated especially when I draw the modulation waves. Is there a
> good way to draw curves ?
> Any help would be appreciated.Thanks
>

You said to use GtkDrawingArea, do you use a Cairo surface ?
If you can use the Python language, http://matplotlib.sourceforge.net/
is maybe a nice solution for you.

Regards,
Stéphane
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux