gimp r24260 - in trunk: . app app/core
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r24260 - in trunk: . app app/core
- Date: Tue, 4 Dec 2007 11:30:32 +0000 (GMT)
Author: mitch
Date: 2007-12-04 11:30:31 +0000 (Tue, 04 Dec 2007)
New Revision: 24260
ViewCVS link: http://svn.gnome.org/viewcvs/gimp?rev=24260&view=rev
Modified:
trunk/ChangeLog
trunk/app/core/gimpdrawable.c
trunk/app/core/gimpdrawable.h
trunk/app/core/gimpimage-item-list.c
trunk/app/core/gimpimage-item-list.h
trunk/app/core/gimpimage-scale.c
trunk/app/core/gimplayer.c
trunk/app/gimp-log.c
trunk/app/gimp-log.h
Log:
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]