Mercurial > MadButterfly
changeset 620:3f544e876939 openvg
The way to mbe_save and mbe_restore
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Fri, 09 Jul 2010 08:51:18 +0800 |
parents | 7020ed3c3e37 |
children | d8cdd57ceff5 |
files | include/mb_graph_engine_openvg.h |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/include/mb_graph_engine_openvg.h Thu Jul 08 18:44:26 2010 +0800 +++ b/include/mb_graph_engine_openvg.h Fri Jul 09 08:51:18 2010 +0800 @@ -54,11 +54,14 @@ #define mbe_new_path(canvas) \ vgClearPath((canvas)->path, VG_PATH_CAPABILITY_ALL) #define mbe_curve_to(canvas, x1, y1, x2, y2, x3, y3) -#define mbe_restore(canvas) #define mbe_move_to(canvas, x, y) #define mbe_line_to(canvas, x, y) #define mbe_in_fill(canvas, x, y) (0) +/* TODO: change prototype of mbe_arc() to remove mbe_save() and + * mbe_restore(). + */ #define mbe_save(canvas) +#define mbe_restore(canvas) #define mbe_arc(canvas, x, y, radius, angle_start, angle_stop) typedef struct _mbe_text_extents_t mbe_text_extents_t;