]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-pixbuf-cache.h
Use g_get_user_special_dir when available instead of xdg_user_dir_lookup.
[evince.git] / shell / ev-pixbuf-cache.h
index 6f96dc18f91efe633c673ec380c8da3b62cc30f6..d2116cdb071e7f8520c28453b8c8ceada720ac66 100644 (file)
@@ -57,7 +57,7 @@ void           ev_pixbuf_cache_set_page_range       (EvPixbufCache *pixbuf_cache
                                                     gint           rotation,
                                                     gfloat         scale,
                                                     GList          *selection_list);
-GdkPixbuf     *ev_pixbuf_cache_get_pixbuf           (EvPixbufCache *pixbuf_cache,
+cairo_surface_t *ev_pixbuf_cache_get_surface        (EvPixbufCache *pixbuf_cache,
                                                     gint           page);
 GList         *ev_pixbuf_cache_get_link_mapping     (EvPixbufCache *pixbuf_cache,
                                                     gint           page);
@@ -65,14 +65,20 @@ 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 */
-GdkPixbuf     *ev_pixbuf_cache_get_selection_pixbuf (EvPixbufCache *pixbuf_cache,
-                                                    gint           page,
-                                                    gfloat         scale,
-                                                    GdkRegion     **region);
+cairo_surface_t *ev_pixbuf_cache_get_selection_surface (EvPixbufCache *pixbuf_cache,
+                                                       gint           page,
+                                                       gfloat         scale,
+                                                       GdkRegion     **region);
 void           ev_pixbuf_cache_set_selection_list   (EvPixbufCache *pixbuf_cache,
                                                     GList         *selection_list);
 GList         *ev_pixbuf_cache_get_selection_list   (EvPixbufCache *pixbuf_cache);