gnocl::curve

WJG (22/05/09) The gnocl::curve widget is an implement of the GIMP legacy widget that enables the user to draw freehand curves which are then connected by a smoothing algorithm. A highly specialised widget, the GTK documentation mentions that in future versions (perhaps Gtk 3.x?) this widget will be moved into a standalone package.

http://wjgiddings.googlepages.com/Screenshot-gnoclcurve.png

#---------------
# Author:   William J Giddings
# Date:     07/05/09
#---------------
#!/bin/sh
# the next line restarts using tclsh \
exec tclsh "$0" "$@"
#---------------

package require Gnocl

set curv [gnocl::curve]

gnocl::window -child $curv -widthRequest 200 -heightRequest 200 -title gnocl::curve

gnocl::mainLoop