summaryrefslogtreecommitdiff
path: root/render/mask.h
blob: 43b5dacdbb9e08f9d4b8393d9024b80aab36b7d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef __mask_h
#define __mask_h

#include <X11/Xlib.h>
#include <glib.h>
#include "render.h"

pixmap_mask *pixmap_mask_new(int w, int h, char *data);
void pixmap_mask_free(pixmap_mask *m);
void mask_draw(Pixmap p, TextureMask *m, int width, int height);

#endif