Mercurial > MadButterfly
comparison 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 |
comparison
equal
deleted
inserted
replaced
607:51dc49fd34a8 | 608:6c74bc371e37 |
---|---|
22 #define mbe_scaled_font_destroy(scaled) | 22 #define mbe_scaled_font_destroy(scaled) |
23 #define mbe_font_face_reference(face) ((mbe_font_face_t *)NULL) | 23 #define mbe_font_face_reference(face) ((mbe_font_face_t *)NULL) |
24 #define mbe_scaled_font_create(face, fnt_mtx, ctm) ((mbe_scaled_font_t *)NULL) | 24 #define mbe_scaled_font_create(face, fnt_mtx, ctm) ((mbe_scaled_font_t *)NULL) |
25 #define mbe_pattern_set_matrix(ptn, mtx) | 25 #define mbe_pattern_set_matrix(ptn, mtx) |
26 #define mbe_font_face_destroy(face) | 26 #define mbe_font_face_destroy(face) |
27 #define mbe_paint_with_alpha(canvas, alpha) | |
28 #define mbe_set_scaled_font(canvas, scaled) | 27 #define mbe_set_scaled_font(canvas, scaled) |
29 #define mbe_pattern_destroy(pattern) | 28 #define mbe_pattern_destroy(pattern) |
30 #define mbe_get_scaled_font(canvas) ((mbe_scaled_font_t *)NULL) | 29 #define mbe_get_scaled_font(canvas) ((mbe_scaled_font_t *)NULL) |
31 #define mbe_query_font_face(family, slant, weight) ((mbe_font_face_t *)NULL) | 30 #define mbe_query_font_face(family, slant, weight) ((mbe_font_face_t *)NULL) |
32 #define mbe_free_font_face(face) | 31 #define mbe_free_font_face(face) |
208 free(surface); | 207 free(surface); |
209 } | 208 } |
210 | 209 |
211 extern mbe_t *mbe_create(mbe_surface_t *surface); | 210 extern mbe_t *mbe_create(mbe_surface_t *surface); |
212 extern void mbe_destroy(mbe_t *canvas); | 211 extern void mbe_destroy(mbe_t *canvas); |
212 extern void mbe_paint_with_alpha(mbe_t *canvas, co_comp_t alpha); | |
213 extern void mbe_paint(mbe_t *canvas); | 213 extern void mbe_paint(mbe_t *canvas); |
214 extern void mbe_clear(mbe_t *canvas); | 214 extern void mbe_clear(mbe_t *canvas); |
215 | 215 |
216 static void | 216 static void |
217 mbe_stroke(mbe_t *canvas) { | 217 mbe_stroke(mbe_t *canvas) { |