diff include/mb_graph_engine_openvg.h @ 597:3300992b29ff openvg

Define mbe_clear() for VG
author Thinker K.F. Li <thinker@branda.to>
date Thu, 01 Jul 2010 15:52:29 +0800
parents aaaaa03af04d
children aba62eb9362d
line wrap: on
line diff
--- a/include/mb_graph_engine_openvg.h	Thu Jul 01 14:48:57 2010 +0800
+++ b/include/mb_graph_engine_openvg.h	Thu Jul 01 15:52:29 2010 +0800
@@ -62,7 +62,6 @@
 #define mbe_move_to(canvas, x, y)
 #define mbe_line_to(canvas, x, y)
 #define mbe_in_fill(canvas, x, y) (0)
-#define mbe_clear(canvas)
 #define mbe_save(canvas)
 #define mbe_arc(canvas, x, y, radius, angle_start, angle_stop)
 
@@ -177,6 +176,7 @@
 extern mbe_t *mbe_create(mbe_surface_t *surface);
 extern void mbe_destroy(mbe_t *canvas);
 extern void mbe_paint(mbe_t *canvas);
+extern void mbe_clear(mbe_t *canvas);
 
 static void
 mbe_stroke(mbe_t *canvas) {