summaryrefslogtreecommitdiff
path: root/src/lib/x11_grab.h
blob: 1e3e3ddc9ce9d24445268ad8d9d5e553b7e280fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef X11_GRAB_H
#define X11_GRAB_H 1

#include "common.h"

int                 __imlib_GrabDrawableToRGBA(DATA32 * data, int x_dst,
                                               int y_dst, int w_dst, int h_dst,
                                               Display * d, Drawable p,
                                               Pixmap m, Visual * v,
                                               Colormap cm, int depth,
                                               int x_src, int y_src, int w_src,
                                               int h_src, char *domask,
                                               int grab);

int                 __imlib_GrabDrawableScaledToRGBA(DATA32 * data, int x_dst,
                                                     int y_dst, int w_dst,
                                                     int h_dst, Display * d,
                                                     Drawable p, Pixmap m,
                                                     Visual * v, Colormap cm,
                                                     int depth, int x_src,
                                                     int y_src, int w_src,
                                                     int h_src, char *pdomask,
                                                     int grab);

void                __imlib_GrabXImageToRGBA(DATA32 * data, int x_dst,
                                             int y_dst, int w_dst, int h_dst,
                                             Display * d, XImage * xim,
                                             XImage * mxim, Visual * v,
                                             int depth, int x_src, int y_src,
                                             int w_src, int h_src, int grab);

#endif /* X11_GRAB_H */