Evince
Evince is a document viewer capable of displaying multiple and single page document formats like PDF and Postscript.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ev-utils.h
Go to the documentation of this file.
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; c-indent-level: 8 -*- */
2 /*
3  * Copyright (C) 2004 Anders Carlsson <andersca@gnome.org>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2, or (at your option)
8  * any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18  *
19  */
20 
21 #ifndef __EV_UTILS_H__
22 #define __EV_UTILS_H__
23 
24 #include <gdk-pixbuf/gdk-pixbuf.h>
25 #include <gtk/gtk.h>
26 
27 G_BEGIN_DECLS
28 
29 GdkPixbuf* ev_pixbuf_add_shadow (GdkPixbuf *src, int size,
30  int x_offset, int y_offset, double opacity);
31 
32 void ev_print_region_contents (cairo_region_t *region);
33 
34 void ev_gui_menu_position_tree_selection (GtkMenu *menu,
35  gint *x,
36  gint *y,
37  gboolean *push_in,
38  gpointer user_data);
39 
40 void file_chooser_dialog_add_writable_pixbuf_formats (GtkFileChooser *chooser);
41 GdkPixbufFormat* get_gdk_pixbuf_format_by_extension (const gchar *uri);
42 
43 G_END_DECLS
44 
45 #endif /* __EV_VIEW_H__ */