Back to index

scribus-ng  1.3.4.dfsg+svn20071115
gdk-pixbuf-xlib.h
Go to the documentation of this file.
00001 /*
00002 For general Scribus (>=1.3.2) copyright and licensing information please refer
00003 to the COPYING file provided with the program. Following this notice may exist
00004 a copyright and/or license notice that predates the release of Scribus 1.3.2
00005 for which a new license (GPL+exception) is in place.
00006 */
00007 /* GdkPixbuf library - Xlib header file
00008  *
00009  * Authors: John Harper <john@dcs.warwick.ac.uk>
00010  *
00011  * This library is free software; you can redistribute it and/or
00012  * modify it under the terms of the GNU Library General Public
00013  * License as published by the Free Software Foundation; either
00014  * version 2 of the License, or (at your option) any later version.
00015  *
00016  * This library is distributed in the hope that it will be useful,
00017  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00019  * Library General Public License for more details.
00020  *
00021  * You should have received a copy of the GNU Library General Public
00022  * License along with this library; if not, write to the
00023  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
00024  * Boston, MA 02111-1307, USA.
00025  */
00026 
00027 #ifndef GDK_PIXBUF_XLIB_H
00028 #define GDK_PIXBUF_XLIB_H
00029 
00030 /* #include <gdk-pixbuf/gdk-pixbuf.h> */
00031 /* #include <gdk-pixbuf-xlib/gdk-pixbuf-xlibrgb.h> */
00032 #include <X11/Xlib.h>
00033 
00034 
00035 
00036 /* init */
00037 
00038 void gdk_pixbuf_xlib_init (Display *display, int screen_num);
00039 
00040 void gdk_pixbuf_xlib_init_with_depth (Display *display, int screen_num,
00041                                   int prefDepth);
00042 
00043 
00044 
00045 /* render */
00046 /*
00047 void gdk_pixbuf_xlib_render_threshold_alpha (GdkPixbuf *pixbuf, Pixmap bitmap,
00048                                         int src_x, int src_y,
00049                                         int dest_x, int dest_y,
00050                                         int width, int height,
00051                                         int alpha_threshold);
00052 
00053 void gdk_pixbuf_xlib_render_to_drawable (GdkPixbuf *pixbuf,
00054                                     Drawable drawable, GC gc,
00055                                     int src_x, int src_y,
00056                                     int dest_x, int dest_y,
00057                                     int width, int height,
00058                                     XlibRgbDither dither,
00059                                     int x_dither, int y_dither);
00060 
00061 
00062 void gdk_pixbuf_xlib_render_to_drawable_alpha (GdkPixbuf *pixbuf,
00063                                           Drawable drawable,
00064                                           int src_x, int src_y,
00065                                           int dest_x, int dest_y,
00066                                           int width, int height,
00067                                           GdkPixbufAlphaMode alpha_mode,
00068                                           int alpha_threshold,
00069                                           XlibRgbDither dither,
00070                                           int x_dither, int y_dither);
00071 
00072 void gdk_pixbuf_xlib_render_pixmap_and_mask (GdkPixbuf *pixbuf,
00073                                         Pixmap *pixmap_return,
00074                                         Pixmap *mask_return,
00075                                         int alpha_threshold);
00076 
00077 
00078 
00079 GdkPixbuf *gdk_pixbuf_xlib_get_from_drawable (GdkPixbuf *dest,
00080                                          Drawable src,
00081                                          Colormap cmap, Visual *visual,
00082                                          int src_x, int src_y,
00083                                          int dest_x, int dest_y,
00084                                          int width, int height);
00085 */
00086 #endif /* GDK_PIXBUF_XLIB_H */