Commit 3cc98760 authored by Thomas White's avatar Thomas White
Browse files

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.
parent 0e48c77b
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment