X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=libview%2Fev-view-private.h;h=c3c7554b09646d2038cd11af8544a2771bc8633c;hb=1600e0323e398d2e235121e9e25df70853095e4c;hp=d0519d7ac219231fe5ee519c34f499dc7b659366;hpb=e8fe8f92b5b9c4116e3950b4c8ad33236412495e;p=evince.git diff --git a/libview/ev-view-private.h b/libview/ev-view-private.h index d0519d7a..c3c7554b 100644 --- a/libview/ev-view-private.h +++ b/libview/ev-view-private.h @@ -26,8 +26,8 @@ #define __EV_VIEW_PRIVATE_H__ #include "ev-view.h" +#include "ev-document-model.h" #include "ev-pixbuf-cache.h" -#include "ev-page-cache.h" #include "ev-jobs.h" #include "ev-image.h" #include "ev-form-field.h" @@ -133,7 +133,8 @@ struct _EvView { gint find_result; gboolean jump_to_find_result; gboolean highlight_find_results; - + + EvDocumentModel *model; EvPageCache *page_cache; EvPixbufCache *pixbuf_cache; EvHeightToPageCache *height_to_page_cache; @@ -160,9 +161,6 @@ struct _EvView { gint rotation; gdouble scale; gint spacing; - gdouble dpi; - gdouble max_scale; - gdouble min_scale; gboolean loading; gboolean continuous; @@ -218,7 +216,6 @@ struct _EvViewClass { void (*binding_activated) (EvView *view, GtkScrollType scroll, gboolean horizontal); - void (*zoom_invalid) (EvView *view); void (*handle_link) (EvView *view, EvLink *link); void (*external_link) (EvView *view, @@ -227,5 +224,12 @@ struct _EvViewClass { EvLink *link); }; +void _get_page_size_for_scale_and_rotation (EvDocument *document, + gint page, + gdouble scale, + gint rotation, + gint *page_width, + gint *page_height); + #endif /* __EV_VIEW_PRIVATE_H__ */