Mercurial > MadButterfly
comparison include/mb_graph_engine_openvg.h @ 602:ac2e6468a22a openvg
Replace mbe_image_surface_create_from_png() with mbe_pattern_create_image()
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Fri, 02 Jul 2010 13:42:22 +0800 |
parents | 20b396c09c23 |
children | 39d27911c3ae |
comparison
equal
deleted
inserted
replaced
601:8863d23cea4b | 602:ac2e6468a22a |
---|---|
9 #include "mb_img_ldr.h" | 9 #include "mb_img_ldr.h" |
10 | 10 |
11 /*! \defgroup mb_ge_cairo MadButterfly Graphic Engine with Cairo | 11 /*! \defgroup mb_ge_cairo MadButterfly Graphic Engine with Cairo |
12 * @{ | 12 * @{ |
13 */ | 13 */ |
14 #define mbe_image_surface_create_from_png(fn) ((mbe_surface_t *)NULL) | |
15 #define mbe_image_surface_create_for_data(data, fmt, w, h, stride) \ | 14 #define mbe_image_surface_create_for_data(data, fmt, w, h, stride) \ |
16 ((mbe_surface_t *)NULL) | 15 ((mbe_surface_t *)NULL) |
17 #define mbe_pattern_create_for_surface(canvas) ((mbe_pattern_t *)NULL) | 16 #define mbe_pattern_create_for_surface(canvas) ((mbe_pattern_t *)NULL) |
18 #define mbe_scaled_font_text_extents(scaled, utf8, extents) | 17 #define mbe_scaled_font_text_extents(scaled, utf8, extents) |
19 #define mbe_image_surface_get_stride(surface) (20) | 18 #define mbe_image_surface_get_stride(surface) (20) |
25 #define mbe_pattern_create_radial(cx0, cy0, radius0, \ | 24 #define mbe_pattern_create_radial(cx0, cy0, radius0, \ |
26 cx1, cy1, radius1, stops, stop_cnt) \ | 25 cx1, cy1, radius1, stops, stop_cnt) \ |
27 ((mbe_pattern_t *)NULL) | 26 ((mbe_pattern_t *)NULL) |
28 #define mbe_pattern_create_linear(x0, y0, x1, y1, stops, stop_cnt) \ | 27 #define mbe_pattern_create_linear(x0, y0, x1, y1, stops, stop_cnt) \ |
29 ((mbe_pattern_t *)NULL) | 28 ((mbe_pattern_t *)NULL) |
29 #define mbe_pattern_create_image(img) ((mbe_pattern_t *)NULL) | |
30 #define mbe_scaled_font_destroy(scaled) | 30 #define mbe_scaled_font_destroy(scaled) |
31 #define mbe_font_face_reference(face) ((mbe_font_face_t *)NULL) | 31 #define mbe_font_face_reference(face) ((mbe_font_face_t *)NULL) |
32 #define mbe_scaled_font_create(face, fnt_mtx, ctm) ((mbe_scaled_font_t *)NULL) | 32 #define mbe_scaled_font_create(face, fnt_mtx, ctm) ((mbe_scaled_font_t *)NULL) |
33 #define mbe_pattern_set_matrix(ptn, mtx) | 33 #define mbe_pattern_set_matrix(ptn, mtx) |
34 #define mbe_font_face_destroy(face) | 34 #define mbe_font_face_destroy(face) |