gimp/plug-ins/sel2path
Michael Natterer 2fd2a4e6b5 app/channel_ops.c app/channels_dialog.c app/commands.c app/floating_sel.c
2001-02-25  Michael Natterer  <mitch@gimp.org>

	* app/channel_ops.c
	* app/channels_dialog.c
	* app/commands.c
	* app/floating_sel.c
	* app/gdisplay.c
	* app/gimpimage.[ch]
	* app/layer_select.c
	* app/layers_dialog.c
	* app/undo.c
	* app/xcf.c
	* app/tools/move.c: remove direct access of gimage->active_layer and
	gimage->active_channel. Reading access is of course harmless, but
	gimp_image_set_active_blah() will trigger a signal emission soon.

	It will probably be neccessary to change the functions to accept
	NULL layers and channels to acheive exactly what weird places like
	floating_sel.c did before by setting it directly.

	* gimptool-1.4.in
	* libgimp/Makefile.am
	* libgimpcolor/Makefile.am
	* libgimpmath/Makefile.am
	* libgimpwidgets/Makefile.am
	* plug-ins/libgck/gck/Makefile.am: made linking against stable
	GIMP installed in the same prefix work again by renaming all our
	libraries explicitly to libgimp<foo>-1.3.* (not as part of the
	libtool revision but as part of the library name). Removed the
	libtool revision to avoid double versioning. This has to be
	hardcoded in the libraries' Makefile.am ...

	* app/Makefile.am
	* plug-ins/FractalExplorer/Makefile.am
	* plug-ins/Lighting/Makefile.am
	* plug-ins/MapObject/Makefile.am
	* plug-ins/bmp/Makefile.am
	* plug-ins/common/Makefile.am
	* plug-ins/common/mkgen.pl
	* plug-ins/dbbrowser/Makefile.am
	* plug-ins/faxg3/Makefile.am
	* plug-ins/fits/Makefile.am
	* plug-ins/flame/Makefile.am
	* plug-ins/fp/Makefile.am
	* plug-ins/gap/Makefile.am
	* plug-ins/gdyntext/Makefile.am
	* plug-ins/gfig/Makefile.am
	* plug-ins/gflare/Makefile.am
	* plug-ins/gfli/Makefile.am
	* plug-ins/gimpressionist/Makefile.am
	* plug-ins/helpbrowser/Makefile.am
	* plug-ins/ifscompose/Makefile.am
	* plug-ins/imagemap/Makefile.am
	* plug-ins/maze/Makefile.am
	* plug-ins/mosaic/Makefile.am
	* plug-ins/pagecurl/Makefile.am
	* plug-ins/plugin-helper/Makefile.am
	* plug-ins/print/Makefile.am
	* plug-ins/rcm/Makefile.am
	* plug-ins/script-fu/Makefile.am
	* plug-ins/sel2path/Makefile.am
	* plug-ins/sgi/Makefile.am
	* plug-ins/webbrowser/Makefile.am
	* plug-ins/xjt/Makefile.am: ... while all other Makefiles can simply
	link against "libgimp<foo>-$(LT_REVISION).la"
2001-02-25 14:37:12 +00:00
..
.cvsignore configure.in plug-ins/Makefile.am plug-ins/sel2path/* <- New directory 1999-07-09 21:52:00 +00:00
bitmap.h Removed embedded EOLs and spaces from tooltips, few typos. 2000-07-30 18:37:33 +00:00
bounding-box.h Removed embedded EOLs and spaces from tooltips, few typos. 2000-07-30 18:37:33 +00:00
curve.c fixed bugs #7144 and #7139 2000-03-10 11:29:24 +00:00
curve.h configure.in plug-ins/Makefile.am plug-ins/sel2path/* <- New directory 1999-07-09 21:52:00 +00:00
edge.c configure.in plug-ins/Makefile.am plug-ins/sel2path/* <- New directory 1999-07-09 21:52:00 +00:00
edge.h configure.in plug-ins/Makefile.am plug-ins/sel2path/* <- New directory 1999-07-09 21:52:00 +00:00
fit.c s/gimp_plugin_help_func/gimp_standard_help_func/ 2000-05-22 17:10:28 +00:00
fit.h configure.in plug-ins/Makefile.am plug-ins/sel2path/* <- New directory 1999-07-09 21:52:00 +00:00
global.h plug-ins/sel2path/globals.h 2000-08-17 21:18:49 +00:00
Makefile.am app/channel_ops.c app/channels_dialog.c app/commands.c app/floating_sel.c 2001-02-25 14:37:12 +00:00
math.c Removed embedded EOLs and spaces from tooltips, few typos. 2000-07-30 18:37:33 +00:00
pxl-outline.c run the sel2path plugin with a proper display ID - previously we were 2000-06-04 18:33:01 +00:00
pxl-outline.h configure.in plug-ins/Makefile.am plug-ins/sel2path/* <- New directory 1999-07-09 21:52:00 +00:00
README configure.in plug-ins/Makefile.am plug-ins/sel2path/* <- New directory 1999-07-09 21:52:00 +00:00
README.limn configure.in plug-ins/Makefile.am plug-ins/sel2path/* <- New directory 1999-07-09 21:52:00 +00:00
sel2path.c plug-ins/rcm/rcm.[ch] plug-ins/rcm/rcm_misc.[ch] 2000-08-23 23:11:07 +00:00
sel2path.h configure.in plug-ins/Makefile.am plug-ins/sel2path/* <- New directory 1999-07-09 21:52:00 +00:00
sel2path_adv_dialog.c added -DGTK_DISABLE_COMPAT_H to CPPFLAGS. 2000-08-28 00:42:32 +00:00
spline.c Turned C++ style comments into C style ones. 2000-09-26 22:54:33 +00:00
spline.h configure.in plug-ins/Makefile.am plug-ins/sel2path/* <- New directory 1999-07-09 21:52:00 +00:00
types.h configure.in plug-ins/Makefile.am plug-ins/sel2path/* <- New directory 1999-07-09 21:52:00 +00:00
vector.c Removed embedded EOLs and spaces from tooltips, few typos. 2000-07-30 18:37:33 +00:00
vector.h Removed embedded EOLs and spaces from tooltips, few typos. 2000-07-30 18:37:33 +00:00


Andy Thomas (alt@gimp.org) 9th July 1999


This plug-in will take a selection and convert it into a path.
For the purpose of the plug-in the selection boundary is defined
in a similar manner to that worked out for the "marching ants" markers
of the selection. I think this gives the best user feel/feedback since 
the created path "follows" the "marching ants".

I cannot claim responsibility for the underlying algorithms. These
were taken directly from the GNU font utilities (the "limn" program 
in particular) written by Karl Berry and Kathryn Hargreaves.

Their email addresses quoted in the README are:-

Karl Berry              karl@cs.umb.edu
Kathryn Hargreaves      letters@cs.umb.edu

Please see fontutils-0.6 package for more details. I have included the 
README from the limn part of the package.

I thank Karl & Kathryn for producing such a well written set of utilites.

I have just added a gimp front-end onto them. 


How to use it.
~~~~~~~~~~~~~~

Simply select an area and then select either "<Image>/Selection/To Path"
menu item or the "Selection To Image" button in the paths dialog. The new
path will be created. Currently if the LCP dialog has not been activated
then the path will not be visible... A bug I have just found - simply
bring up the LCP dialog and select the Paths tab to see the newly created
path.

An additional function can be obtained by having the "Shift" modifier pressed
while using the button in the paths dialog. This will pop-up a "power-users"
menu where the parameters to the underlying algorithms can be modified. 
WARING:- Some values may cause the plugin to enter extremely long operations.
You have been warned. 

Have fun!


Andy.

PS. Please direct any bugs etc found in this plugin to either
myself or the gimp-developer mailing list. Thank.