diff options
Diffstat (limited to 'fns.h')
-rw-r--r-- | fns.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -4,8 +4,13 @@ void *erealloc(void*, ulong); Image *eallocimage(Display*, Rectangle, ulong, int, ulong); /* canvas */ -Canvas *newcanvas(Point2, Rectangle, ulong); +Canvas *newcanvas(char*, Point2, Rectangle, ulong); +void rmcanvas(Canvas*); /* layer */ -Layer *newlayer(Canvas*); +Layer *newlayer(char*, Canvas*); void rmlayer(Layer*); + +/* utils */ +double fclamp(double, double, double); +int alphachan(ulong); |