Mercurial > MadButterfly
diff include/mb_shapes.h @ 197:bcad1ccdf45c
Translate the path string into binary array to save the parsing in the runtime. It can reduce the size as well.
author | wycc@wycc-desktop |
---|---|
date | Wed, 19 Nov 2008 00:27:20 +0800 |
parents | 530bb7728546 |
children | 50d253d0fcba a90fd749af82 |
line wrap: on
line diff
--- a/include/mb_shapes.h Tue Nov 18 21:42:30 2008 +0800 +++ b/include/mb_shapes.h Wed Nov 19 00:27:20 2008 +0800 @@ -39,6 +39,7 @@ * @{ */ extern shape_t *rdman_shape_path_new(redraw_man_t *rdman, char *data); +extern shape_t *rdman_shape_path_new_from_binary(redraw_man_t *rdman, char *commands, co_aix *arg,int arg_cnt,int *fix_arg,int fix_arg_cnt); extern void sh_path_transform(shape_t *shape); extern void sh_path_draw(shape_t *shape, cairo_t *cr); /* @} */