1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; c-indent-level: 8 -*- */
3 * Copyright (C) 2004 Anders Carlsson <andersca@gnome.org>
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)
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.
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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 #ifndef __EV_UTILS_H__
22 #define __EV_UTILS_H__
24 #include <gdk-pixbuf/gdk-pixbuf.h>
29 GdkPixbuf *ev_pixbuf_add_shadow (GdkPixbuf *src, int size,
30 int x_offset, int y_offset, double opacity);
32 void ev_print_region_contents (GdkRegion *region);
34 #ifndef HAVE_G_FILE_SET_CONTENTS
36 gboolean ev_file_set_contents (const gchar *filename,
37 const gchar *contents,
40 #endif /* HAVE_G_FILE_SET_CONTENTS */
44 #endif /* __EV_VIEW_H__ */