mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-07 01:00:28 +00:00
GtkThemingEngine: Improve pixel alignment in arrows.
This commit is contained in:
parent
c18ee462e3
commit
911431c0b2
@ -700,9 +700,9 @@ add_path_arrow (cairo_t *cr,
|
||||
cairo_translate (cr, x + (size / 2), y + (size / 2));
|
||||
cairo_rotate (cr, angle);
|
||||
|
||||
cairo_move_to (cr, 0, - (size / 4) + 0.5);
|
||||
cairo_line_to (cr, - (size / 2), (size / 4) + 0.5);
|
||||
cairo_line_to (cr, (size / 2), (size / 4) + 0.5);
|
||||
cairo_move_to (cr, 0, - (size / 4));
|
||||
cairo_line_to (cr, - (size / 2), (size / 4));
|
||||
cairo_line_to (cr, (size / 2), (size / 4));
|
||||
cairo_close_path (cr);
|
||||
|
||||
cairo_restore (cr);
|
||||
|
Loading…
Reference in New Issue
Block a user