blob: cd9b91ef52735287320d1cc5b3ca9c28142e197b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* alloc */
void *emalloc(ulong);
void *erealloc(void*, ulong);
Image *eallocimage(Display*, Rectangle, ulong, int, ulong);
/* canvas */
Canvas *newcanvas(char*, Point2, Rectangle, ulong);
void rmcanvas(Canvas*);
/* layer */
Layer *newlayer(char*, Canvas*);
void rmlayer(Layer*);
/* utils */
double fclamp(double, double, double);
int alphachan(ulong);
|