[gthumb] added the crop option for consinstency
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] added the crop option for consinstency
- Date: Tue, 17 May 2011 22:10:12 +0000 (UTC)
commit 1232981825ce93c117ff1afb9cd51686361a8a4f
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun May 15 17:48:41 2011 +0200
added the crop option for consinstency
extensions/file_tools/gth-image-rotator.c | 1 +
extensions/file_tools/gth-image-rotator.h | 3 ++-
2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/extensions/file_tools/gth-image-rotator.c b/extensions/file_tools/gth-image-rotator.c
index 65883db..bbf1ee0 100644
--- a/extensions/file_tools/gth-image-rotator.c
+++ b/extensions/file_tools/gth-image-rotator.c
@@ -115,6 +115,7 @@ gth_transform_resize (cairo_matrix_t *matrix,
break;
case GTH_TRANSFORM_RESIZE_BOUNDING_BOX:
+ case GTH_TRANSFORM_RESIZE_CROP:
{
double dx1, dx2, dx3, dx4;
double dy1, dy2, dy3, dy4;
diff --git a/extensions/file_tools/gth-image-rotator.h b/extensions/file_tools/gth-image-rotator.h
index 5a7d38e..50a1ec3 100644
--- a/extensions/file_tools/gth-image-rotator.h
+++ b/extensions/file_tools/gth-image-rotator.h
@@ -30,7 +30,8 @@ G_BEGIN_DECLS
typedef enum {
GTH_TRANSFORM_RESIZE_CLIP,
- GTH_TRANSFORM_RESIZE_BOUNDING_BOX
+ GTH_TRANSFORM_RESIZE_BOUNDING_BOX,
+ GTH_TRANSFORM_RESIZE_CROP
} GthTransformResize;
#define GTH_TYPE_IMAGE_ROTATOR (gth_image_rotator_get_type ())
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]