- if (tiff_document->orientation == EV_ORIENTATION_PORTRAIT ||
- tiff_document->orientation == EV_ORIENTATION_UPSIDEDOWN) {
- *width = w;
- *height = h;
- } else {
- *width = h;
- *height = w;
- }
- pop_handlers ();
-}
-
-static EvOrientation
-tiff_document_get_orientation (EvDocument *document)
-{
- TiffDocument *tiff_document = TIFF_DOCUMENT (document);
-
- return tiff_document->orientation;
-}
-
-static void
-tiff_document_set_orientation (EvDocument *document,
- EvOrientation orientation)
-{
- TiffDocument *tiff_document = TIFF_DOCUMENT (document);
-
- tiff_document->orientation = orientation;
-}
-
-static GdkPixbuf *
-rotate_pixbuf (EvDocument *document, GdkPixbuf *pixbuf)
-{
- TiffDocument *tiff_document = TIFF_DOCUMENT (document);