# HG changeset patch # User Thinker K.F. Li # Date 1278636678 -28800 # Node ID 3f544e8769391dc2abe0d3f9795f2eba561f2deb # Parent 7020ed3c3e37345de55f3031aa0bcb378cad9c9d The way to mbe_save and mbe_restore diff -r 7020ed3c3e37 -r 3f544e876939 include/mb_graph_engine_openvg.h --- 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;