Commit 52684e37 authored by Paolo Bacchilega's avatar Paolo Bacchilega
Browse files

[image_print] removed the clip

when a small image is upscaled the clip cuts out part of the image,
and it seems to have no effect in all other cases.
parent d2d0c298
......@@ -544,12 +544,6 @@ _cairo_paint_pixbuf (cairo_t *cr,
}
cairo_save (cr);
cairo_rectangle (cr,
x,
y,
gdk_pixbuf_get_width (pixbuf),
gdk_pixbuf_get_height (pixbuf));
cairo_clip (cr);
pattern = cairo_pattern_create_for_surface (s);
cairo_matrix_init_translate (&matrix, -x * scale_factor, -y * scale_factor);
cairo_matrix_scale (&matrix, scale_factor, scale_factor);
......
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