Re: Polar drawing widget, gearwheel drawing

2014-06-22 Thread Arne Pagel
Dear all, thanks a lot for all your comments, I played a little bit with cario and it works out quit well: http://www.pagelnet.de/tmp/pinion.png Looks much better then my trails with gtkextra and the polar plot. Since most examples I found where based on GTK3 I moved also to GTK3 for this test.

Re: Polar drawing widget, gearwheel drawing

2014-06-20 Thread David Marceau
This will match up with your requirements: https://code.google.com/p/bridgegl/ https://code.google.com/p/bridgegl/source/browse/trunk/application.cpp If the above is too noisy/featureful, then look at the python versions below, then look at the .cc/.cpp later. For static 2d: https://git.gnome.org

Re: Polar drawing widget, gearwheel drawing

2014-06-20 Thread Chris Moller
+1 on cairo. He's a doc page that covers the basics: http://cairographics.org/documentation/ On 06/20/14 15:27, John Coppens wrote: On Fri, 20 Jun 2014 19:54:28 +0200 Arne Pagel wrote: Point is that I don't want to spend a lot of time in this feature, so I am searching for the easiest sol

Re: Polar drawing widget, gearwheel drawing

2014-06-20 Thread John Coppens
On Fri, 20 Jun 2014 19:54:28 +0200 Arne Pagel wrote: > Point is that I don't want to spend a lot of time in this feature, so I am > searching for the easiest > solution, especially since I never did some pure graphic programming like > this, just a little bit 2D > plotting with get-extra and no

Polar drawing widget, gearwheel drawing

2014-06-20 Thread Arne Pagel
dear all, I have some Gtk Applications (in C) and now I want to add a functionality for displaying kind of gearwheels with different number oft teeth. Basically this should be an visual support for parameter editing, maybe as a wizard. The gearwheels doesn't have to be very fancy, but I need to