#include <gtk/gtk.h>
#include <evince-document.h>
#include <evince-view.h>
Go to the source code of this file.
|
GType | ev_pixbuf_cache_get_type (void) G_GNUC_CONST |
|
EvPixbufCache * | ev_pixbuf_cache_new (GtkWidget *view, EvDocumentModel *model, gsize max_size) |
|
void | ev_pixbuf_cache_set_max_size (EvPixbufCache *pixbuf_cache, gsize max_size) |
|
void | ev_pixbuf_cache_set_page_range (EvPixbufCache *pixbuf_cache, gint start_page, gint end_page, GList *selection_list) |
|
cairo_surface_t * | ev_pixbuf_cache_get_surface (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, cairo_region_t *region, gint page, gint rotation, gdouble scale) |
|
void | ev_pixbuf_cache_set_inverted_colors (EvPixbufCache *pixbuf_cache, gboolean inverted_colors) |
|
cairo_surface_t * | ev_pixbuf_cache_get_selection_surface (EvPixbufCache *pixbuf_cache, gint page, gfloat scale) |
|
cairo_region_t * | ev_pixbuf_cache_get_selection_region (EvPixbufCache *pixbuf_cache, gint page, gfloat scale) |
|
void | ev_pixbuf_cache_set_selection_list (EvPixbufCache *pixbuf_cache, GList *selection_list) |
|
GList * | ev_pixbuf_cache_get_selection_list (EvPixbufCache *pixbuf_cache) |
|
GList* ev_pixbuf_cache_get_selection_list |
( |
EvPixbufCache * |
pixbuf_cache) | |
|
Definition at line 1296 of file ev-pixbuf-cache.c.
1299 GList *retval = NULL;
1318 selection->
page = page;
1322 retval = g_list_prepend (retval, selection);
1332 selection->
page = page;
1336 retval = g_list_prepend (retval, selection);
1348 selection->
page = page;
1352 retval = g_list_prepend (retval, selection);
1358 return g_list_reverse (retval);
cairo_region_t* ev_pixbuf_cache_get_selection_region |
( |
EvPixbufCache * |
pixbuf_cache, |
|
|
gint |
page, |
|
|
gfloat |
scale |
|
) |
| |
Definition at line 1116 of file ev-pixbuf-cache.c.
1127 if (job_info == NULL)
1162 g_object_unref (ev_page);
1172 g_object_unref (rc);
cairo_surface_t* ev_pixbuf_cache_get_selection_surface |
( |
EvPixbufCache * |
pixbuf_cache, |
|
|
gint |
page, |
|
|
gfloat |
scale |
|
) |
| |
Definition at line 1039 of file ev-pixbuf-cache.c.
1050 if (job_info == NULL)
1074 GdkColor text, base;
1092 0, &width, &height);
1096 g_object_unref (ev_page);
1109 g_object_unref (rc);
cairo_surface_t* ev_pixbuf_cache_get_surface |
( |
EvPixbufCache * |
pixbuf_cache, |
|
|
gint |
page |
|
) |
| |
GType ev_pixbuf_cache_get_type |
( |
void |
) | |
|
void ev_pixbuf_cache_reload_page |
( |
EvPixbufCache * |
pixbuf_cache, |
|
|
cairo_region_t * |
region, |
|
|
gint |
page, |
|
|
gint |
rotation, |
|
|
gdouble |
scale |
|
) |
| |
Definition at line 1362 of file ev-pixbuf-cache.c.
1372 if (job_info == NULL)
1376 page, scale, rotation,
1378 add_job (pixbuf_cache, job_info, region,
1379 width, height, page, rotation, scale,
void ev_pixbuf_cache_set_inverted_colors |
( |
EvPixbufCache * |
pixbuf_cache, |
|
|
gboolean |
inverted_colors |
|
) |
| |
void ev_pixbuf_cache_set_max_size |
( |
EvPixbufCache * |
pixbuf_cache, |
|
|
gsize |
max_size |
|
) |
| |
void ev_pixbuf_cache_set_page_range |
( |
EvPixbufCache * |
pixbuf_cache, |
|
|
gint |
start_page, |
|
|
gint |
end_page, |
|
|
GList * |
selection_list |
|
) |
| |
void ev_pixbuf_cache_set_selection_list |
( |
EvPixbufCache * |
pixbuf_cache, |
|
|
GList * |
selection_list |
|
) |
| |
Definition at line 1210 of file ev-pixbuf-cache.c.
1214 GList *list = selection_list;
1237 selection = list->data;
1256 selection = list->data;
1277 selection = list->data;
void ev_pixbuf_cache_style_changed |
( |
EvPixbufCache * |
pixbuf_cache) | |
|