]> www.fi.muni.cz Git - evince.git/blobdiff - libview/ev-pixbuf-cache.h
[dvi] Use ANSI C rand() instead of random()
[evince.git] / libview / ev-pixbuf-cache.h
index 5e48f2845c10f848fa75ab7e2374b3c1fcbed491..514e09dce1afd8da7dbd37656084dee2c8c71cb3 100644 (file)
  * ev-view.c from exploding.
  */
 
+#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION)
+#error "Only <evince-view.h> can be included directly."
+#endif
+
 #ifndef __EV_PIXBUF_CACHE_H__
 #define __EV_PIXBUF_CACHE_H__
 
 #include <gtk/gtk.h>
 
-#include "ev-document.h"
-#include "ev-selection.h"
+#include <evince-document.h>
 
 G_BEGIN_DECLS
 
@@ -61,21 +64,15 @@ void           ev_pixbuf_cache_set_page_range       (EvPixbufCache *pixbuf_cache
                                                     GList          *selection_list);
 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);
-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);
+                                                    gdouble        scale);
+void           ev_pixbuf_cache_set_inverted_colors  (EvPixbufCache *pixbuf_cache,
+                                                    gboolean       inverted_colors);
 /* Selection */
 cairo_surface_t *ev_pixbuf_cache_get_selection_surface (EvPixbufCache *pixbuf_cache,
                                                        gint           page,