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

#include "render.h"
#include "kernel/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 Rect *area);

#endif