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-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);
|
|
|
|
void pixmap_mask_free(pixmap_mask *m);
|
2003-03-17 01:08:34 +00:00
|
|
|
void mask_draw(Pixmap p, TextureMask *m, int width, int height);
|
2003-03-17 00:49:05 +00:00
|
|
|
|
2003-03-17 00:37:23 +00:00
|
|
|
#endif
|