From 5e43774b418b9ed521660463f912fa88809bd551 Mon Sep 17 00:00:00 2001 From: Nickolay V. Shmyrev Date: Wed, 24 Aug 2005 15:45:12 +0000 Subject: Update rotation direction of backends to fit with pdf and ps --- (limited to 'djvu/djvu-document.c') diff --git a/djvu/djvu-document.c b/djvu/djvu-document.c index 1945249..8257b3e 100644 --- a/djvu/djvu-document.c +++ b/djvu/djvu-document.c @@ -166,7 +166,7 @@ djvu_document_render_pixbuf (EvDocument *document, gdk_pixbuf_get_rowstride (pixbuf), (gchar *)gdk_pixbuf_get_pixels (pixbuf)); - rotated_pixbuf = gdk_pixbuf_rotate_simple (pixbuf, rc->rotation); + rotated_pixbuf = gdk_pixbuf_rotate_simple (pixbuf, 360 - rc->rotation); g_object_unref (pixbuf); return rotated_pixbuf; @@ -280,7 +280,7 @@ djvu_document_thumbnails_get_thumbnail (EvDocumentThumbnails *document, gdk_pixbuf_get_rowstride (pixbuf), (gchar *)pixels); - rotated_pixbuf = gdk_pixbuf_rotate_simple (pixbuf, rotation); + rotated_pixbuf = gdk_pixbuf_rotate_simple (pixbuf, 360 - rotation); g_object_unref (pixbuf); return rotated_pixbuf; -- cgit v0.9.1