From 3cc9876027c090201dfd00c0ba63e477aa5274dd Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 13 Aug 2020 14:14:31 +0200 Subject: hdfsee: Don't round panel transformations The rounding was supposed to prevent blurry panel display. However, it completely breaks display of any panels which aren't almost exactly aligned with the x/y axes. --- src/dw-hdfsee.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dw-hdfsee.c b/src/dw-hdfsee.c index bc02c543..96fe19a1 100644 --- a/src/dw-hdfsee.c +++ b/src/dw-hdfsee.c @@ -134,7 +134,7 @@ static void draw_panel_rectangle(cairo_t *cr, cairo_matrix_t *basic_m, rint(p.cny/dw->binning)); /* Twiddle directions according to matrix */ - cairo_matrix_init(&m, rint(p.fsx), rint(p.fsy), rint(p.ssx), rint(p.ssy), + cairo_matrix_init(&m, p.fsx, p.fsy, p.ssx, p.ssy, 0.0, 0.0); cairo_transform(cr, &m); -- cgit v1.2.3