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

#include "render.h"
#include "geom.h"

RrPixmapMask *RrPixmapMaskNew(const RrInstance *inst,
                              gint w, gint h, const gchar *data);
void RrPixmapMaskFree(RrPixmapMask *m);
RrPixmapMask *RrPixmapMaskCopy(const RrPixmapMask *src);
void RrPixmapMaskDraw(Pixmap p, const RrTextureMask *m, const RrRect *area);

#endif