Gimp/app/vectors
Michael Natterer 0527989edf Item conversion depends on the old *and* the new item type, so it can't
2004-12-23  Michael Natterer  <mitch@gimp.org>

	Item conversion depends on the old *and* the new item type, so
	it can't live in the old item's vtable only:

	* app/core/gimpitem.[ch]: split GimpItem::convert() into
	GimpItem::convert_from() (which is called on the old item and
	creates the new item) and GimpItem::convert_to() (which is called
	on the new item). This way functions from the old *and* new items'
	vtables are called and it's possible to convert between item types
	which live on different branches of the class hierarchy or to item
	types which live further down the class tree than the old item.

	(gimp_item_convert): call ::convert_to() on the new item created
	by ::convert_from().

	* app/vectors/gimpvectors.c: changed ::convert() implementation
	to ::convert_from().

	* app/core/gimplayer.c: changed ::convert() to ::convert_to().
	Fixes bug #161877.
2004-12-23 11:53:14 +00:00
..
.cvsignore
gimpanchor.c Made gimp_vectors_compat_get_points accept more paths gracefully. It now 2003-09-09 15:46:59 +00:00
gimpanchor.h Made gimp_vectors_compat_get_points accept more paths gracefully. It now 2003-09-09 15:46:59 +00:00
gimpbezierstroke.c Fix a bunch of warnings from Sparse: 2004-11-14 02:50:33 +00:00
gimpbezierstroke.h document the fact that gimp_image_get_filename() returns the filename in 2004-11-13 20:34:43 +00:00
gimpstroke.c Changed the "gradient" parameter to "slope" to make it more clear what the 2004-12-14 22:36:40 +00:00
gimpstroke.h Changed the "gradient" parameter to "slope" to make it more clear what the 2004-12-14 22:36:40 +00:00
gimpvectors-compat.c added #defines for GimpCoords' default pressure, tilt and wheel values. 2004-02-23 23:10:21 +00:00
gimpvectors-compat.h Made gimp_vectors_compat_get_points accept more paths gracefully. It now 2003-09-09 15:46:59 +00:00
gimpvectors-export.c renamed struct member "unit" to "resolution_unit". 2004-10-12 21:28:53 +00:00
gimpvectors-export.h removed the GError parameter from gimp_vectors_export_string() and 2003-12-21 11:52:20 +00:00
gimpvectors-import.c libgimpwidgets/gimpintstore.c please the overly pedantic IRIX MIPSpro 2004-11-10 23:50:10 +00:00
gimpvectors-import.h renamed the SVG related functions so that they deal with an anonymous data 2004-06-30 11:57:17 +00:00
gimpvectors-preview.c app/core/Makefile.am new files with preview code factored out of 2003-09-29 23:14:28 +00:00
gimpvectors-preview.h app/vectors/Makefile.am app/vectors/gimpvectors-export.[ch] added stubs 2003-09-10 13:05:00 +00:00
gimpvectors.c Item conversion depends on the old *and* the new item type, so it can't 2004-12-23 11:53:14 +00:00
gimpvectors.h New function that appends a duplicate of the source vectors strokes to the 2003-11-07 13:20:52 +00:00
Makefile.am app/vectors/Makefile.am removed... 2004-05-24 16:45:24 +00:00
makefile.msc updated app/actions/makefile.msc app/menus/makefile.msc : (new files) 2004-07-11 21:53:17 +00:00
vectors-types.h app/display/display-types.h app/tools/tools-types.h 2003-09-07 10:29:10 +00:00