1 /* GdkPixbuf library - Xlib header file
3 * Authors: John Harper <john@dcs.warwick.ac.uk>
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library 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 GNU
13 * Library General Public License for more details.
15 * You should have received a copy of the GNU Library General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
21 #ifndef GDK_PIXBUF_XLIB_H
22 #define GDK_PIXBUF_XLIB_H
24 #include <gdk-pixbuf/gdk-pixbuf.h>
25 #include <gdk-pixbuf-xlib/gdk-pixbuf-xlibrgb.h>
32 void gdk_pixbuf_xlib_init (Display *display, int screen_num);
34 void gdk_pixbuf_xlib_init_with_depth (Display *display, int screen_num,
41 void gdk_pixbuf_xlib_render_threshold_alpha (GdkPixbuf *pixbuf, Pixmap bitmap,
43 int dest_x, int dest_y,
44 int width, int height,
47 void gdk_pixbuf_xlib_render_to_drawable (GdkPixbuf *pixbuf,
48 Drawable drawable, GC gc,
50 int dest_x, int dest_y,
51 int width, int height,
53 int x_dither, int y_dither);
56 void gdk_pixbuf_xlib_render_to_drawable_alpha (GdkPixbuf *pixbuf,
59 int dest_x, int dest_y,
60 int width, int height,
61 GdkPixbufAlphaMode alpha_mode,
64 int x_dither, int y_dither);
66 void gdk_pixbuf_xlib_render_pixmap_and_mask (GdkPixbuf *pixbuf,
67 Pixmap *pixmap_return,
75 GdkPixbuf *gdk_pixbuf_xlib_get_from_drawable (GdkPixbuf *dest,
77 Colormap cmap, Visual *visual,
79 int dest_x, int dest_y,
80 int width, int height);
82 #endif /* GDK_PIXBUF_XLIB_H */