diff options
author | Thomas White <taw@physics.org> | 2020-08-13 14:14:31 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-08-13 14:14:31 +0200 |
commit | 3cc9876027c090201dfd00c0ba63e477aa5274dd (patch) | |
tree | 9fb6f0ee954c1645790c3a90374268b87e60ed6f | |
parent | 0e48c77bb04daf4c5dc5d71a74262404edfc049e (diff) |
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.
-rw-r--r-- | src/dw-hdfsee.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |