[gthumb: 26/129] rotator: reset the device offset to 0 after painting the image
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb: 26/129] rotator: reset the device offset to 0 after painting the image
- Date: Wed, 27 Apr 2011 20:52:34 +0000 (UTC)
commit 26af35802075ab7981ffbbb4a7c667c7382c62b9
Author: Paolo Bacchilega <paobac src gnome org>
Date: Fri Apr 15 18:24:03 2011 +0200
rotator: reset the device offset to 0 after painting the image
extensions/file_tools/gth-image-rotator.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/extensions/file_tools/gth-image-rotator.c b/extensions/file_tools/gth-image-rotator.c
index dd22833..4cab5e1 100644
--- a/extensions/file_tools/gth-image-rotator.c
+++ b/extensions/file_tools/gth-image-rotator.c
@@ -643,6 +643,7 @@ gth_image_rotator_get_result (GthImageRotator *self)
cairo_set_source_surface (cr, input, image_area.x, image_area.y);
cairo_rectangle (cr, image_area.x, image_area.y, image_area.width, image_area.height);
cairo_fill (cr);
+ cairo_surface_set_device_offset (output, clip_area.x, clip_area.y);
pixbuf = _gdk_pixbuf_new_from_cairo_surface (cr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]