Mercurial > MadButterfly
diff include/mb_graph_engine_openvg.h @ 608:6c74bc371e37 openvg
paint with alpha for OpenVG
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Mon, 05 Jul 2010 10:56:23 +0800 |
parents | 51dc49fd34a8 |
children | e78bff7d23d3 |
line wrap: on
line diff
--- a/include/mb_graph_engine_openvg.h Sun Jul 04 21:09:56 2010 +0800 +++ b/include/mb_graph_engine_openvg.h Mon Jul 05 10:56:23 2010 +0800 @@ -24,7 +24,6 @@ #define mbe_scaled_font_create(face, fnt_mtx, ctm) ((mbe_scaled_font_t *)NULL) #define mbe_pattern_set_matrix(ptn, mtx) #define mbe_font_face_destroy(face) -#define mbe_paint_with_alpha(canvas, alpha) #define mbe_set_scaled_font(canvas, scaled) #define mbe_pattern_destroy(pattern) #define mbe_get_scaled_font(canvas) ((mbe_scaled_font_t *)NULL) @@ -210,6 +209,7 @@ extern mbe_t *mbe_create(mbe_surface_t *surface); extern void mbe_destroy(mbe_t *canvas); +extern void mbe_paint_with_alpha(mbe_t *canvas, co_comp_t alpha); extern void mbe_paint(mbe_t *canvas); extern void mbe_clear(mbe_t *canvas);