Gimp/plug-ins/sel2path
BST 1999 Andy Thomas 6c28319bc3 app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c
Mon Jul 19 23:40:56 BST 1999 Andy Thomas <alt@gimp.org>

	* app/indicator_area.c
	* app/paths_dialog.c
	* app/tools_cmds.c
	* app/airbrush.c
	* app/airbrush.h
	* app/bezier_select.c
	* app/paintbrush.c
	* app/paintbrush.h
	* app/clone.c
	* app/clone.h
	* app/eraser.c
	* app/eraser.h
	* app/convolve.c
	* app/convolve.h
	* app/smudge.c
	* app/smudge.h
	* app/dodgeburn.c
	* app/dodgeburn.h
	* app/internal_procs.c
	* plug-ins/sel2path/sel2path.c
	* tools/pdbgen/pdb/tools.pdb
	* tools/pdbgen/enums.pl

	1) Fixed the brushpreview popup problem where it remained onscreen
           if the mouse button was released in another GTK window that accepted
	   mouse events.

	2) Selection to path now works on all types of images (it should have
	   anyway).

	3) Fixed PDB so you can once again use the PDB interfaces to the clone
	   and airbrush tools.

	4) PDB Function to add a path to an image now adds it correctly.

	5) airbrush/paintbrush/clone/eraser/convolve New PDB functions that
           use the options dialogs settings (or sane defaults if option dialog
           not present)

	6) Added PDB functions for Smudge & DodgeBurn tools.

	7) Path stroke command (from the LCP dialog) can now use any of the
	   painting tools (airbrush/paintbrush/clone/eraser/convolve/smudge/
           dodgeburn except ink). Just have the tool selected when you
	   press the stroke button.
1999-07-19 22:42:49 +00:00
..
.cvsignore configure.in plug-ins/Makefile.am plug-ins/sel2path/* <- New directory 1999-07-09 21:52:00 +00:00
bitmap.h configure.in plug-ins/Makefile.am plug-ins/sel2path/* <- New directory 1999-07-09 21:52:00 +00:00
bounding-box.h configure.in plug-ins/Makefile.am plug-ins/sel2path/* <- New directory 1999-07-09 21:52:00 +00:00
curve.c configure.in plug-ins/Makefile.am plug-ins/sel2path/* <- New directory 1999-07-09 21:52:00 +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 add <float.f> or FLT_MAX,FLT_MIN 1999-07-10 14:08:04 +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 app/makefile.cygwin app/makefile.msc plug-ins/makefile.cygwin 1999-07-14 16:02:32 +00:00
Makefile.am configure.in plug-ins/Makefile.am plug-ins/sel2path/* <- New directory 1999-07-09 21:52:00 +00:00
math.c app/makefile.cygwin app/makefile.msc plug-ins/makefile.cygwin 1999-07-14 16:02:32 +00:00
pxl-outline.c configure.in plug-ins/Makefile.am plug-ins/sel2path/* <- New directory 1999-07-09 21:52:00 +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 app/indicator_area.c app/paths_dialog.c app/tools_cmds.c app/airbrush.c 1999-07-19 22:42:49 +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 configure.in plug-ins/Makefile.am plug-ins/sel2path/* <- New directory 1999-07-09 21:52:00 +00:00
spline.c configure.in plug-ins/Makefile.am plug-ins/sel2path/* <- New directory 1999-07-09 21:52:00 +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 app/makefile.cygwin app/makefile.msc plug-ins/makefile.cygwin 1999-07-14 16:02:32 +00:00
vector.h configure.in plug-ins/Makefile.am plug-ins/sel2path/* <- New directory 1999-07-09 21:52:00 +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.