Mercurial > MadButterfly
diff include/mb_graph_engine_cairo.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 | 28aa5e53abaa |
children | 39d27911c3ae |
line wrap: on
line diff
--- a/include/mb_graph_engine_cairo.h Fri Jul 02 11:59:17 2010 +0800 +++ b/include/mb_graph_engine_cairo.h Fri Jul 02 13:42:22 2010 +0800 @@ -10,7 +10,6 @@ /*! \defgroup mb_ge_cairo MadButterfly Graphic Engine with Cairo * @{ */ -#define mbe_image_surface_create_from_png cairo_image_surface_create_from_png #define mbe_pattern_create_for_surface cairo_pattern_create_for_surface #define mbe_scaled_font_text_extents cairo_scaled_font_text_extents #define mbe_image_surface_get_stride cairo_image_surface_get_stride @@ -82,6 +81,7 @@ co_aix x1, co_aix y1, grad_stop_t *stops, int stop_cnt); +extern mbe_pattern_t *mbe_pattern_create_image(mb_img_data_t *img); extern void mbe_scissoring(mbe_t *canvas, int n_areas, area_t **areas);