diff options
author | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2005-08-24 15:45:12 (GMT) |
---|---|---|
committer | Nickolay V. Shmyrev <nshmyrev@src.gnome.org> | 2005-08-24 15:45:12 (GMT) |
commit | 5e43774b418b9ed521660463f912fa88809bd551 (patch) | |
tree | ee5e9605dfeb7eee60cbb2cdacbae97c3fe8b81b /djvu | |
parent | ff60f91c0e669564d5027a732a600c4894201c9d (diff) |
Update rotation direction of backends to fit with pdf and ps
Diffstat (limited to 'djvu')
-rw-r--r-- | djvu/djvu-document.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |