2003-03-17 00:37:23 +00:00
|
|
|
#ifndef __mask_h
|
|
|
|
#define __mask_h
|
|
|
|
|
2003-03-17 00:53:28 +00:00
|
|
|
#include "render.h"
|
2003-04-13 07:18:28 +00:00
|
|
|
#include "kernel/geom.h"
|
2003-03-17 00:37:23 +00:00
|
|
|
|
2003-03-17 00:49:05 +00:00
|
|
|
pixmap_mask *pixmap_mask_new(int w, int h, char *data);
|
2003-03-29 21:12:47 +00:00
|
|
|
pixmap_mask *pixmap_mask_copy(pixmap_mask *src);
|
2003-03-17 00:49:05 +00:00
|
|
|
void pixmap_mask_free(pixmap_mask *m);
|
2003-03-26 02:19:38 +00:00
|
|
|
void mask_draw(Pixmap p, TextureMask *m, Rect *position);
|
2003-03-17 00:49:05 +00:00
|
|
|
|
2003-03-17 00:37:23 +00:00
|
|
|
#endif
|