Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libview/ev-view-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'libview/ev-view-private.h')
-rw-r--r--libview/ev-view-private.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libview/ev-view-private.h b/libview/ev-view-private.h
index 4bec7bd..d0519d7 100644
--- a/libview/ev-view-private.h
+++ b/libview/ev-view-private.h
@@ -117,6 +117,12 @@ typedef enum {
EV_PRESENTATION_END
} EvPresentationState;
+typedef struct _EvHeightToPageCache {
+ gint rotation;
+ gdouble *height_to_page;
+ gdouble *dual_height_to_page;
+} EvHeightToPageCache;
+
struct _EvView {
GtkLayout layout;
@@ -130,6 +136,7 @@ struct _EvView {
EvPageCache *page_cache;
EvPixbufCache *pixbuf_cache;
+ EvHeightToPageCache *height_to_page_cache;
EvViewCursor cursor;
EvJobRender *current_job;