mirror of https://github.com/GNOME/gimp.git
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:
parent
8d1725525f
commit
9559d388fd
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue