Mercurial > MadButterfly
changeset 615:0f0abc48e10a openvg
mbe_new_path() for OpenVG
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Thu, 08 Jul 2010 11:29:58 +0800 |
parents | 9c5705da2495 |
children | 7d70a811829b |
files | include/mb_graph_engine_openvg.h |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/include/mb_graph_engine_openvg.h Wed Jul 07 23:19:57 2010 +0800 +++ b/include/mb_graph_engine_openvg.h Thu Jul 08 11:29:58 2010 +0800 @@ -45,7 +45,8 @@ #define mbe_text_path(canvas, utf8) #define mbe_rectangle(canvas, x, y, w, h) #define mbe_in_stroke(canvas, x, y) (0) -#define mbe_new_path(canvas) +#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)