comparison include/mb_graph_engine_openvg.h @ 598:aba62eb9362d openvg

define color source for VG
author Thinker K.F. Li <thinker@branda.to>
date Thu, 01 Jul 2010 16:16:46 +0800
parents 3300992b29ff
children 28aa5e53abaa
comparison
equal deleted inserted replaced
597:3300992b29ff 598:aba62eb9362d
35 #define mbe_font_face_reference(face) ((mbe_font_face_t *)NULL) 35 #define mbe_font_face_reference(face) ((mbe_font_face_t *)NULL)
36 #define mbe_scaled_font_create(face, fnt_mtx, ctm) ((mbe_scaled_font_t *)NULL) 36 #define mbe_scaled_font_create(face, fnt_mtx, ctm) ((mbe_scaled_font_t *)NULL)
37 #define mbe_pattern_set_matrix(ptn, mtx) 37 #define mbe_pattern_set_matrix(ptn, mtx)
38 #define mbe_font_face_destroy(face) 38 #define mbe_font_face_destroy(face)
39 #define mbe_paint_with_alpha(canvas, alpha) 39 #define mbe_paint_with_alpha(canvas, alpha)
40 #define mbe_set_source_rgba(canvas, r, g, b, a)
41 #define mbe_set_scaled_font(canvas, scaled) 40 #define mbe_set_scaled_font(canvas, scaled)
42 #define mbe_pattern_destroy(pattern) 41 #define mbe_pattern_destroy(pattern)
43 #define mbe_get_scaled_font(canvas) ((mbe_scaled_font_t *)NULL) 42 #define mbe_get_scaled_font(canvas) ((mbe_scaled_font_t *)NULL)
44 #define mbe_query_font_face(family, slant, weight) ((mbe_font_face_t *)NULL) 43 #define mbe_query_font_face(family, slant, weight) ((mbe_font_face_t *)NULL)
45 #define mbe_free_font_face(face) 44 #define mbe_free_font_face(face)
117 } while(0) 116 } while(0)
118 117
119 extern EGLNativeDisplayType _ge_openvg_disp_id; 118 extern EGLNativeDisplayType _ge_openvg_disp_id;
120 extern mbe_t *_ge_openvg_current_canvas; 119 extern mbe_t *_ge_openvg_current_canvas;
121 120
121 extern void mbe_set_source_rgba(mbe_t *canvas, co_comp_t r, co_comp_t g,
122 co_comp_t b, co_comp_t a);
122 extern void mbe_scissoring(mbe_t *canvas, int n_areas, area_t **areas); 123 extern void mbe_scissoring(mbe_t *canvas, int n_areas, area_t **areas);
123 124
124 125
125 #define _VG_DISPLAY() eglGetDisplay(_ge_openvg_disp_id) 126 #define _VG_DISPLAY() eglGetDisplay(_ge_openvg_disp_id)
126 127