X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=shell%2Fev-pixbuf-cache.h;h=ed1c1ec9885c54b8f25703327577c1411f825130;hb=f343927df4325959193353c52cff1ea4b20b2286;hp=79e0810a0f2956486f8ef6215f05acd6e5934393;hpb=217797d63b2d3b1c9a7a0511af1bbf3d99f0d482;p=evince.git diff --git a/shell/ev-pixbuf-cache.h b/shell/ev-pixbuf-cache.h index 79e0810a..ed1c1ec9 100644 --- a/shell/ev-pixbuf-cache.h +++ b/shell/ev-pixbuf-cache.h @@ -26,6 +26,7 @@ #include #include "ev-document.h" +#include "ev-selection.h" #include "ev-job-queue.h" G_BEGIN_DECLS @@ -43,6 +44,7 @@ typedef struct { int page; EvRectangle rect; GdkRegion *covered_region; + EvSelectionStyle style; } EvViewSelection; typedef struct _EvPixbufCache EvPixbufCache; @@ -65,9 +67,15 @@ GList *ev_pixbuf_cache_get_image_mapping (EvPixbufCache *pixbuf_cache gint page); GdkRegion *ev_pixbuf_cache_get_text_mapping (EvPixbufCache *pixbuf_cache, gint page); +GList *ev_pixbuf_cache_get_form_field_mapping (EvPixbufCache *pixbuf_cache, + gint page); void ev_pixbuf_cache_clear (EvPixbufCache *pixbuf_cache); void ev_pixbuf_cache_style_changed (EvPixbufCache *pixbuf_cache); - +void ev_pixbuf_cache_reload_page (EvPixbufCache *pixbuf_cache, + GdkRegion *region, + gint page, + gint rotation, + gdouble scale); /* Selection */ cairo_surface_t *ev_pixbuf_cache_get_selection_surface (EvPixbufCache *pixbuf_cache, gint page,