summaryrefslogtreecommitdiff
path: root/src/lib/x11_grab.h
blob: b6f3ad65e90a3d6c5fa62e18b847e04ca0a192b6 (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
#ifndef X11_GRAB_H
#define X11_GRAB_H 1

#include "common.h"

int                 __imlib_GrabDrawableToRGBA(DATA32 * data, int ox, int oy,
                                               int ow, int oh, Display * d,
                                               Drawable p, Pixmap m, Visual * v,
                                               Colormap cm, int depth, int x,
                                               int y, int w, int h,
                                               char *domask, int grab);

int                 __imlib_GrabDrawableScaledToRGBA(DATA32 * data, int ox,
                                                     int oy, int ow, int oh,
                                                     Display * d, Drawable p,
                                                     Pixmap m, Visual * v,
                                                     Colormap cm, int depth,
                                                     int x, int y, int w, int h,
                                                     char *pdomask, int grab);

void                __imlib_GrabXImageToRGBA(DATA32 * data, int ox, int oy,
                                             int ow, int oh, Display * d,
                                             XImage * xim, XImage * mxim,
                                             Visual * v, int depth, int x,
                                             int y, int w, int h, int grab);

#endif /* X11_GRAB_H */