Mercurial > MadButterfly
diff src/shapes.h @ 5:9c331ec9e210
SVG path is partially supported
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sat, 26 Jul 2008 01:37:35 +0800 |
parents | |
children | 79e9edf4c00a |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/shapes.h Sat Jul 26 01:37:35 2008 +0800 @@ -0,0 +1,11 @@ +#ifndef __SHAPES_H_ +#define __SHAPES_H_ + +#include "mb_types.h" + +extern void sh_path_free(shape_t *path); +extern shape_t *sh_path_new(char *data); +extern void sh_path_transform(shape_t *shape, coord_t *coord); +extern void sh_path_draw(shape_t *shape, cairo_t *cr); + +#endif /* __SHAPES_H_ */