[gimp/soc-2012-unified-transformation: 3/52] app: fix drawing of the GIMP_HANDLE_CROSS canvas item



commit d1ca1a8940a0a1cb3bc475429e4dd6820c58e5ac
Author: Mikael Magnusson <mikachu src gnome org>
Date:   Tue Aug 16 01:14:22 2011 +0200

    app: fix drawing of the GIMP_HANDLE_CROSS canvas item

 app/display/gimpcanvashandle.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/display/gimpcanvashandle.c b/app/display/gimpcanvashandle.c
index 31e1db5..67c184f 100644
--- a/app/display/gimpcanvashandle.c
+++ b/app/display/gimpcanvashandle.c
@@ -336,10 +336,10 @@ gimp_canvas_handle_draw (GimpCanvasItem   *item,
 
     case GIMP_HANDLE_CROSS:
       cairo_move_to (cr, x - private->width / 2, y);
-      cairo_line_to (cr, x + private->width / 2, y);
+      cairo_line_to (cr, x + private->width / 2 - 0.5, y);
 
       cairo_move_to (cr, x, y - private->height / 2);
-      cairo_line_to (cr, x, y + private->height / 2);
+      cairo_line_to (cr, x, y + private->height / 2 - 0.5);
 
       _gimp_canvas_item_stroke (item, cr);
       break;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]