gimp r25132 - in trunk: . app/display
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r25132 - in trunk: . app/display
- Date: Wed, 19 Mar 2008 20:37:45 +0000 (GMT)
Author: mitch
Date: Wed Mar 19 20:37:45 2008
New Revision: 25132
URL: http://svn.gnome.org/viewvc/gimp?rev=25132&view=rev
Log:
2008-03-19 Michael Natterer <mitch gimp org>
* app/display/gimpcanvas.c (gimp_canvas_draw_drop_zone): make the
scale factor of the label 4/5 instead of 2/3 of the canvas and
move the factor out of the MIN().
Modified:
trunk/ChangeLog
trunk/app/display/gimpcanvas.c
Modified: trunk/app/display/gimpcanvas.c
==============================================================================
--- trunk/app/display/gimpcanvas.c (original)
+++ trunk/app/display/gimpcanvas.c Wed Mar 19 20:37:45 2008
@@ -853,8 +853,8 @@
pango_layout_get_pixel_size (canvas->drop_zone_layout, &width, &height);
- factor = MIN (2.0 / 3.0 * widget->allocation.width / width,
- 2.0 / 3.0 * widget->allocation.height / height);
+ factor = 4.0 / 5.0 * MIN ((gdouble) widget->allocation.width / width,
+ (gdouble) widget->allocation.height / height);
cairo_scale (cr, factor, factor);
cairo_move_to (cr,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]