Files
gimp/app/core
Michael Natterer dd80b4c263 added new API gimp_drawable_estimate_memsize() and virtual function
2007-12-04  Michael Natterer  <mitch@gimp.org>

	* app/core/gimpdrawable.[ch]: added new API
	gimp_drawable_estimate_memsize() and virtual function
	GimpDrawable::estimate_memsize() which estimate the memsize of a
	drawable after scaling/resizing.

	* app/core/gimplayer.c: implement the virtual function and take
	the layer mask into account.

	* app/core/gimpimage-item-list.[ch] (gimp_image_item_list_get_list):
	added const qualifiers.

	* app/core/gimpimage-scale.c (gimp_image_scale_check): use the new
	function to correctly estimate the new size instead of scaling the
	drawables' memsizes including all constant parts. Fixes bug #329468.

	* app/gimp-log.[ch]: added IMAGE_SCALE log domain.

	* app/core/gimpimage-scale.c: use it here for debugging output.


svn path=/trunk/; revision=24260
2007-12-04 11:30:31 +00:00
..
2007-08-08 08:35:45 +00:00
2007-03-29 14:09:12 +00:00
2006-12-09 23:15:59 +00:00
2007-11-15 12:19:13 +00:00
2007-06-14 11:30:12 +00:00
2007-10-12 13:14:43 +00:00
2007-05-31 13:08:19 +00:00
2007-11-02 13:30:14 +00:00
2007-01-30 22:53:18 +00:00
2007-05-02 17:26:26 +00:00
2007-07-23 20:14:28 +00:00
2007-06-06 10:13:44 +00:00