]> icculus.org git repositories - mikachu/openbox.git/blob - render/mask.h
is that a rectangle grad? damned if I know
[mikachu/openbox.git] / render / mask.h
1 #ifndef __mask_h
2 #define __mask_h
3
4 #include "render.h"
5 #include "kernel/geom.h"
6
7 pixmap_mask *pixmap_mask_new(int w, int h, char *data);
8 pixmap_mask *pixmap_mask_copy(pixmap_mask *src);
9 void pixmap_mask_free(pixmap_mask *m);
10 void mask_draw(Pixmap p, TextureMask *m, Rect *position);
11
12 #endif