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>
35 void gdk_pixbuf_xlib_init (Display *display, int screen_num);
37 void gdk_pixbuf_xlib_init_with_depth (Display *display, int screen_num,
44 void gdk_pixbuf_xlib_render_threshold_alpha (GdkPixbuf *pixbuf, Pixmap bitmap,
46 int dest_x, int dest_y,
47 int width, int height,
50 void gdk_pixbuf_xlib_render_to_drawable (GdkPixbuf *pixbuf,
51 Drawable drawable, GC gc,
53 int dest_x, int dest_y,
54 int width, int height,
56 int x_dither, int y_dither);
59 void gdk_pixbuf_xlib_render_to_drawable_alpha (GdkPixbuf *pixbuf,
62 int dest_x, int dest_y,
63 int width, int height,
64 GdkPixbufAlphaMode alpha_mode,
67 int x_dither, int y_dither);
69 void gdk_pixbuf_xlib_render_pixmap_and_mask (GdkPixbuf *pixbuf,
70 Pixmap *pixmap_return,
78 GdkPixbuf *gdk_pixbuf_xlib_get_from_drawable (GdkPixbuf *dest,
80 Colormap cmap, Visual *visual,
82 int dest_x, int dest_y,
83 int width, int height);
87 #endif /* GDK_PIXBUF_XLIB_H */