
lots of modifications to the render API, prefixing everything, making proper names for everything. the structures are not hidden/opaque yet, but the naming scheme of the public API works much better now.
13 lines
381 B
C
13 lines
381 B
C
#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
|