diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2009-08-20 15:21:55 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2009-09-15 13:56:01 (GMT) |
commit | e8fe8f92b5b9c4116e3950b4c8ad33236412495e (patch) | |
tree | 8763bb5d2791f83901b2ce31d78845709d7b9268 /libview/ev-view-private.h | |
parent | 8c149ccd2a3cced2cd0a676ad6f7b8d33fd98404 (diff) |
[libview] Move height_to_page cache from EvPageCache to EvView
Diffstat (limited to 'libview/ev-view-private.h')
-rw-r--r-- | libview/ev-view-private.h | 7 |
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; |