comparison src/shapes.h @ 12:79e9edf4c00a

Add redraw manager
author Thinker K.F. Li <thinker@branda.to>
date Mon, 28 Jul 2008 17:45:36 +0800
parents 9c331ec9e210
children 74d3d5dc9aaa
comparison
equal deleted inserted replaced
11:128af06c876c 12:79e9edf4c00a
1 #ifndef __SHAPES_H_ 1 #ifndef __SHAPES_H_
2 #define __SHAPES_H_ 2 #define __SHAPES_H_
3 3
4 #include <cairo.h>
4 #include "mb_types.h" 5 #include "mb_types.h"
5 6
6 extern void sh_path_free(shape_t *path); 7 extern void sh_path_free(shape_t *path);
7 extern shape_t *sh_path_new(char *data); 8 extern shape_t *sh_path_new(char *data);
8 extern void sh_path_transform(shape_t *shape, coord_t *coord); 9 extern void sh_path_transform(shape_t *shape);
9 extern void sh_path_draw(shape_t *shape, cairo_t *cr); 10 extern void sh_path_draw(shape_t *shape, cairo_t *cr);
10 11
11 #endif /* __SHAPES_H_ */ 12 #endif /* __SHAPES_H_ */