Mercurial > MadButterfly
diff include/mb_shapes.h @ 458:bb4f651090bf
Use cairo to transform and draw arc.
- We move some values into float_args.
- fix_args is removed.
- args is rename to pnts.
- We still need to add corner points to pnts at sh_path_arc_cmd_arg_fill().
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Thu, 10 Sep 2009 17:36:45 +0800 |
parents | 16116d84bc5e |
children | af4b506ad56f |
line wrap: on
line diff
--- a/include/mb_shapes.h Thu Aug 06 15:38:08 2009 +0800 +++ b/include/mb_shapes.h Thu Sep 10 17:36:45 2009 +0800 @@ -61,7 +61,12 @@ * @{ */ 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 shape_t *rdman_shape_path_new_from_binary(redraw_man_t *rdman, + char *commands, + co_aix *pnts, + int pnt_cnt, + co_aix *float_args, + int float_arg_cnt); extern void sh_path_transform(shape_t *shape); extern void sh_path_draw(shape_t *shape, mbe_t *cr); /* @} */