diff options
Diffstat (limited to 'src/crystfelimageview.c')
-rw-r--r-- | src/crystfelimageview.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crystfelimageview.c b/src/crystfelimageview.c index ba0e95e3..45933c44 100644 --- a/src/crystfelimageview.c +++ b/src/crystfelimageview.c @@ -212,7 +212,7 @@ static void draw_panel_rectangle(cairo_t *cr, CrystFELImageView *iv, int i) cairo_translate(cr, p.cnx*p.pixel_pitch, p.cny*p.pixel_pitch); /* 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); |