[gthumb/ext] [image_print] removed the clip
- From: Paolo Bacchilega <paobac src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gthumb/ext] [image_print] removed the clip
- Date: Tue, 15 Dec 2009 22:15:23 +0000 (UTC)
commit 52684e3790f2ae6874847578ed30f85b75a27445
Author: Paolo Bacchilega <paobac src gnome org>
Date: Tue Dec 15 23:13:29 2009 +0100
[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.
extensions/image_print/gth-image-print-job.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/extensions/image_print/gth-image-print-job.c b/extensions/image_print/gth-image-print-job.c
index d190ae0..ae3d96f 100644
--- a/extensions/image_print/gth-image-print-job.c
+++ b/extensions/image_print/gth-image-print-job.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]