This repository has been archived on 2024-07-04. You can view files and clone it, but cannot push or open issues or pull requests.
2007-03-01 14:18:56 +01:00
|
|
|
#ifndef _MASK_H_
|
|
|
|
#define _MASK_H_
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
namespace Mask
|
|
|
|
{
|
|
|
|
struct mask
|
|
|
|
{
|
|
|
|
int size;
|
|
|
|
uint8_t *mask;
|
|
|
|
};
|
|
|
|
|
|
|
|
mask * createCircleMask(int size, bool gradient = false);
|
2007-03-01 14:42:32 +01:00
|
|
|
void printMask(mask *mask);
|
2007-03-01 14:18:56 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* ifndef _MASK_H_ */
|