]> www.fi.muni.cz Git - evince.git/blobdiff - libview/ev-pixbuf-cache.h
[Bug 603857] Typo in EV_RENDER_CONTEXT
[evince.git] / libview / ev-pixbuf-cache.h
index 5e48f2845c10f848fa75ab7e2374b3c1fcbed491..94673c2e083de8d943abb3861d45063ca8211c3d 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
 
@@ -69,13 +72,17 @@ 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);
+GList         *ev_pixbuf_cache_get_annots_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,