]> www.fi.muni.cz Git - evince.git/blob - backend/ev-document-misc.h
New file with some random thoughts.
[evince.git] / backend / ev-document-misc.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; c-indent-level: 8 -*- */
2 /*
3  *  Copyright (C) 2000-2003 Marco Pesenti Gritti
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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18  *
19  *  $Id$
20  */
21
22 #ifndef EV_DOCUMENT_MISC_H
23 #define EV_DOCUMENT_MISC_H
24
25
26 #include <gdk-pixbuf/gdk-pixbuf.h>
27
28 G_BEGIN_DECLS
29
30
31 GdkPixbuf *ev_document_misc_get_thumbnail_frame (int        width,
32                                                  int        height,
33                                                  GdkPixbuf *source_pixbuf);
34
35 void ev_document_misc_get_page_border_size (gint  page_width,
36                                             gint  page_height,
37                                             gint *left_border,
38                                             gint *right_border,
39                                             gint *top_border,
40                                             gint *bottom_border);
41
42 G_END_DECLS
43
44 #endif /* EV_DOCUMENT_MISC_H */