comparison include/mb_graph_engine_openvg.h @ 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
comparison
equal deleted inserted replaced
614:9c5705da2495 615:0f0abc48e10a
43 #define mbe_get_target(canvas) ((mbe_surface_t *)(canvas)->tgt) 43 #define mbe_get_target(canvas) ((mbe_surface_t *)(canvas)->tgt)
44 #define mbe_close_path(canvas) 44 #define mbe_close_path(canvas)
45 #define mbe_text_path(canvas, utf8) 45 #define mbe_text_path(canvas, utf8)
46 #define mbe_rectangle(canvas, x, y, w, h) 46 #define mbe_rectangle(canvas, x, y, w, h)
47 #define mbe_in_stroke(canvas, x, y) (0) 47 #define mbe_in_stroke(canvas, x, y) (0)
48 #define mbe_new_path(canvas) 48 #define mbe_new_path(canvas) \
49 vgClearPath((canvas)->path, VG_PATH_CAPABILITY_ALL)
49 #define mbe_curve_to(canvas, x1, y1, x2, y2, x3, y3) 50 #define mbe_curve_to(canvas, x1, y1, x2, y2, x3, y3)
50 #define mbe_restore(canvas) 51 #define mbe_restore(canvas)
51 #define mbe_move_to(canvas, x, y) 52 #define mbe_move_to(canvas, x, y)
52 #define mbe_line_to(canvas, x, y) 53 #define mbe_line_to(canvas, x, y)
53 #define mbe_in_fill(canvas, x, y) (0) 54 #define mbe_in_fill(canvas, x, y) (0)