1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 
3 /*
4  *  GThumb
5  *
6  *  Copyright (C) 2013 Free Software Foundation, Inc.
7  *
8  *  This program is free software; you can redistribute it and/or modify
9  *  it under the terms of the GNU General Public License as published by
10  *  the Free Software Foundation; either version 2 of the License, or
11  *  (at your option) any later version.
12  *
13  *  This program is distributed in the hope that it will be useful,
14  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
15  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16  *  GNU General Public License for more details.
17  *
18  *  You should have received a copy of the GNU General Public License
19  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
20  */
21 
22 #ifndef CAIRO_IMAGE_SURFACE_XCF_H
23 #define CAIRO_IMAGE_SURFACE_XCF_H
24 
25 #include <gtk/gtk.h>
26 #include <gthumb.h>
27 
28 G_BEGIN_DECLS
29 
30 GthImage *  _cairo_image_surface_create_from_xcf (GInputStream  *istream,
31 		  	  	  	  	  GthFileData   *file_data,
32 		  	  	  	  	  int            requested_size,
33 		  	  	  	  	  int           *original_width,
34 		  	  	  	  	  int           *original_height,
35 		  	  	  	  	  gboolean      *loaded_original,
36 		  	  	  	  	  gpointer       user_data,
37 		  	  	  	  	  GCancellable  *cancellable,
38 		  	  	  	  	  GError       **error);
39 
40 G_END_DECLS
41 
42 #endif /* CAIRO_IMAGE_SURFACE_XCF_H */
43