Mercurial > MadButterfly
diff include/mb_graph_engine_openvg.h @ 588:e9923024f65e openvg
Implement mbe_scissoring() for OpenVG
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Wed, 30 Jun 2010 17:45:30 +0800 |
parents | b42d69ab8857 |
children | d733e198bb25 |
line wrap: on
line diff
--- a/include/mb_graph_engine_openvg.h Wed Jun 30 17:27:46 2010 +0800 +++ b/include/mb_graph_engine_openvg.h Wed Jun 30 17:45:30 2010 +0800 @@ -68,7 +68,6 @@ #define mbe_paint(canvas) #define mbe_save(canvas) #define mbe_fill(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; @@ -118,6 +117,9 @@ extern EGLNativeDisplayType _ge_openvg_disp_id; extern mbe_t *_ge_openvg_current_canvas; +extern void mbe_scissoring(mbe_t *canvas, int n_areas, area_t **areas); + + #define _VG_DISPLAY() eglGetDisplay(_ge_openvg_disp_id) /* \brief Make the context of a canvas to be current context.