gimp/app/vectors
Michael Natterer 45334e637e Added support for transforming linked layers, channels and vectors. Fixes
2003-05-12  Michael Natterer  <mitch@gimp.org>

	Added support for transforming linked layers, channels
	and vectors. Fixes bug #86277.

	* app/core/gimpdrawable-transform.[ch]
	(gimp_drawable_transform_tiles_flip): added "gdouble axis" and
	calculate the resulting drawable offset.
	(gimp_drawable_transform_flip): calculate the axis and pass it to
	the function above.
	(gimp_drawable_transform_[tiles_]affine): reordered parameters.

	* app/core/gimpitem.[ch]: added virtual functions GimpItem::flip()
	and GimpItem::transform().

	* app/core/gimpchannel.c
	* app/core/gimplayer.c
	* app/vectors/gimpvectors.c: implement flip() and transform().
	Note that all functions always transform the whole item,
	regardless of a present selection.

	* app/core/Makefile.am
	* app/core/gimpitem-linked.[ch]: new files containing utility
	functions which translate, flip and transform all linked items.

	* app/tools/gimpfliptool.c
	* app/tools/gimptransformtool.c
	* tools/pdbgen/pdb/layer.pdb: use the new gimp_item_linked_*()
	functions to translate, flip and transform all linked items.

	* tools/pdbgen/pdb/transform_tools.pdb: follow
	gimp_drawable_transform_affine() API change.

	* app/pdb/layer_cmds.c
	* app/pdb/transform_tools_cmds.c: regenerated.
2003-05-12 15:56:36 +00:00
..
.cvsignore app/vectors/Makefile removed. 2002-02-22 12:26:41 +00:00
gimpanchor.h app/vectors/gimpanchor.h Anchors now have an enum as type and have the 2002-12-30 16:36:01 +00:00
gimpbezierstroke.c app/tools/gimpvectortool.[ch] app/vectors/gimpbezierstroke.c 2003-03-29 04:47:44 +00:00
gimpbezierstroke.h New Type: GimpVectorExtendMode 2002-12-31 03:18:49 +00:00
gimpstroke.c app/vectors/gimpstroke.[ch] Changed vectors->strokes to a GList and 2003-04-14 00:37:04 +00:00
gimpstroke.h app/vectors/gimpstroke.[ch] Changed vectors->strokes to a GList and 2003-04-14 00:37:04 +00:00
gimpvectors-preview.c app/vectors/gimpanchor.h Anchors now have an enum as type and have the 2002-12-30 16:36:01 +00:00
gimpvectors-preview.h app/vectors/Makefile.am new files creating dummy vectors previews. 2002-02-25 13:39:34 +00:00
gimpvectors.c Added support for transforming linked layers, channels and vectors. Fixes 2003-05-12 15:56:36 +00:00
gimpvectors.h added default implementations for scale() and resize() which just set the 2003-05-09 00:38:51 +00:00
Makefile.am app/base/Makefile.am automake-1.6 seems to use yet another variable to 2002-06-07 23:00:46 +00:00
makefile.msc updated 2002-12-01 14:53:17 +00:00
vectors-types.h app/tools/gimpvectortool.[ch] app/vectors/gimpbezierstroke.c 2003-03-29 04:47:44 +00:00