align the overlay with the pixel grid.

2007-11-09  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcurveview.c (gimp_curve_view_expose): align 
the
	overlay with the pixel grid.


svn path=/trunk/; revision=24104
This commit is contained in:
Sven Neumann 2007-11-09 15:53:47 +00:00 committed by Sven Neumann
parent 8d1725525f
commit 9559d388fd
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-11-09 Sven Neumann <sven@gimp.org>
* app/widgets/gimpcurveview.c (gimp_curve_view_expose): align the
overlay with the pixel grid.
2007-11-09 Sven Neumann <sven@gimp.org>
* app/widgets/gimpcurveview.c: draw the selected point filled and

View File

@ -421,7 +421,7 @@ gimp_curve_view_expose (GtkWidget *widget,
cairo_push_group (cr);
gdk_cairo_set_source_color (cr, &style->text[GTK_STATE_NORMAL]);
cairo_rectangle (cr, x, y, w + 1, h + 1);
cairo_rectangle (cr, x - 0.5, y + 0.5, w, h);
cairo_fill_preserve (cr);
cairo_set_line_width (cr, 6);