From f795273b650a4df39dca693f30c3650ec1d3393f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bert=20M=C3=BCnnich?= Date: Thu, 9 Jan 2014 00:01:57 +0100 Subject: Apply flip & rotation on all frames of a multi-frame image; fixes issue #121 --- types.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'types.h') diff --git a/types.h b/types.h index 2cd305e..fedc1cb 100644 --- a/types.h +++ b/types.h @@ -39,14 +39,16 @@ typedef enum { } direction_t; typedef enum { + DEGREE_0 = 0, DEGREE_90 = 1, DEGREE_180 = 2, DEGREE_270 = 3 } degree_t; typedef enum { - FLIP_HORIZONTAL, - FLIP_VERTICAL + FLIP_NONE = 0, + FLIP_HORIZONTAL = 1, + FLIP_VERTICAL = 2 } flipdir_t; typedef enum { -- cgit v1.2.3