Skip to main content ::
::
KOffice API Docs
::
Skip to Link Menu
/
KOffice
/
API Docs
/
karbon
karbon
karbon
render
xrgbrender
gdk-pixbuf-xlib.h
1
/* GdkPixbuf library - Xlib header file
2
*
3
* Authors: John Harper <john@dcs.warwick.ac.uk>
4
*
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.
9
*
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.
14
*
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., 51 Franklin Street, Fifth Floor,
18
* Boston, MA 02110-1301, USA.
19
*/
20
21
#ifndef GDK_PIXBUF_XLIB_H
22
#define GDK_PIXBUF_XLIB_H
23
24
/* #include <gdk-pixbuf/gdk-pixbuf.h> */
25
/* #include <gdk-pixbuf-xlib/gdk-pixbuf-xlibrgb.h> */
26
#include <X11/Xlib.h>
27
28
␌
29
30
/* init */
31
32
void
gdk_pixbuf_xlib_init (Display *display,
int
screen_num);
33
34
void
gdk_pixbuf_xlib_init_with_depth (Display *display,
int
screen_num,
35
int
prefDepth);
36
37
␌
38
39
/* render */
40
/*
41
void gdk_pixbuf_xlib_render_threshold_alpha (GdkPixbuf *pixbuf, Pixmap bitmap,
42
int src_x, int src_y,
43
int dest_x, int dest_y,
44
int width, int height,
45
int alpha_threshold);
46
47
void gdk_pixbuf_xlib_render_to_drawable (GdkPixbuf *pixbuf,
48
Drawable drawable, GC gc,
49
int src_x, int src_y,
50
int dest_x, int dest_y,
51
int width, int height,
52
XlibRgbDither dither,
53
int x_dither, int y_dither);
54
55
56
void gdk_pixbuf_xlib_render_to_drawable_alpha (GdkPixbuf *pixbuf,
57
Drawable drawable,
58
int src_x, int src_y,
59
int dest_x, int dest_y,
60
int width, int height,
61
GdkPixbufAlphaMode alpha_mode,
62
int alpha_threshold,
63
XlibRgbDither dither,
64
int x_dither, int y_dither);
65
66
void gdk_pixbuf_xlib_render_pixmap_and_mask (GdkPixbuf *pixbuf,
67
Pixmap *pixmap_return,
68
Pixmap *mask_return,
69
int alpha_threshold);
70
71
␌
72
73
GdkPixbuf *gdk_pixbuf_xlib_get_from_drawable (GdkPixbuf *dest,
74
Drawable src,
75
Colormap cmap, Visual *visual,
76
int src_x, int src_y,
77
int dest_x, int dest_y,
78
int width, int height);
79
*/
80
#endif
/* GDK_PIXBUF_XLIB_H */
karbon
Skip menu "karbon"
Main Page
Class Hierarchy
Alphabetical List
Class List
File List
Class Members
karbon
Skip menu "karbon"
chalk
example
filters
interfaces
karbon
kchart
kdgantt
kexi
kformula
kivio
koshell
kplato
kpresenter
kspread
kword
lib