1 /* -*- Mode: C; tab-width: 3; indent-tabs-mode: nil; c-basic-offset: 3 -*- */
2 
3 /*
4  *  Copyright (C) 2001 The Free Software Foundation
5  *
6  *  This program is released under the terms of the GNU General Public
7  *  License version 2, you can find a copy of the lincense in the file
8  *  COPYING.
9  *
10  *  $Id: pixbuf_utils.h,v 1.10 2003/06/13 09:43:37 makeinu Exp $
11  */
12 
13 #ifndef PIXBUF_UTILS_H
14 #define PIXBUF_UTILS_H
15 
16 #ifdef HAVE_CONFIG_H
17 #  include "config.h"
18 #endif
19 
20 #ifdef HAVE_GDK_PIXBUF
21 
22 #include <glib.h>
23 #include <gdk/gdk.h>
24 #include <gdk-pixbuf/gdk-pixbuf.h>
25 
26 GdkPixbuf *pixbuf_copy_rotate_90  (GdkPixbuf *src,
27                                    gboolean counter_clockwise);
28 
29 GdkPixbuf *pixbuf_copy_mirror     (GdkPixbuf *src,
30                                    gboolean mirror,
31                                    gboolean flip);
32 
33 void       pixmap_from_xpm        (const char **data,
34                                    GdkPixmap **pixmap,
35                                    GdkBitmap **mask);
36 
37 #endif /* HAVE_GDK_PIXBUF */
38 #endif /* PIXBUF_UTILS_H */
39