diff include/mb_graph_engine_openvg.h @ 586:b42d69ab8857 openvg

Replace mbe_clip() with mbe_scissoring()
author Thinker K.F. Li <thinker@branda.to>
date Wed, 30 Jun 2010 13:28:53 +0800
parents 6af1aa74e57c
children e9923024f65e
line wrap: on
line diff
--- a/include/mb_graph_engine_openvg.h	Wed Jun 30 09:52:22 2010 +0800
+++ b/include/mb_graph_engine_openvg.h	Wed Jun 30 13:28:53 2010 +0800
@@ -50,7 +50,7 @@
 #define mbe_copy_source(src_canvas, dst_canvas)
 #define mbe_set_source(canvas, pattern)		\
     do { (canvas)->src = (pattern); } while(0)
-#define mbe_reset_clip(canvas)
+#define mbe_reset_scissoring(canvas)
 #define mbe_get_target(canvas) ((mbe_surface_t *)(canvas)->tgt)
 #define mbe_close_path(canvas)
 #define mbe_text_path(canvas, utf8)
@@ -68,7 +68,7 @@
 #define mbe_paint(canvas)
 #define mbe_save(canvas)
 #define mbe_fill(canvas)
-#define mbe_clip(canvas)
+#define mbe_scissoring(canvas, n_areas, areas)
 #define mbe_arc(canvas, x, y, radius, angle_start, angle_stop)
 
 typedef struct _mbe_text_extents_t mbe_text_extents_t;