diff 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
line wrap: on
line diff
--- a/include/mb_graph_engine_openvg.h	Fri Jul 02 11:59:17 2010 +0800
+++ b/include/mb_graph_engine_openvg.h	Fri Jul 02 13:42:22 2010 +0800
@@ -11,7 +11,6 @@
 /*! \defgroup mb_ge_cairo MadButterfly Graphic Engine with Cairo
  * @{
  */
-#define mbe_image_surface_create_from_png(fn) ((mbe_surface_t *)NULL)
 #define mbe_image_surface_create_for_data(data, fmt, w, h, stride)	\
     ((mbe_surface_t *)NULL)
 #define mbe_pattern_create_for_surface(canvas) ((mbe_pattern_t *)NULL)
@@ -27,6 +26,7 @@
     ((mbe_pattern_t *)NULL)
 #define mbe_pattern_create_linear(x0, y0, x1, y1, stops, stop_cnt)	\
     ((mbe_pattern_t *)NULL)
+#define mbe_pattern_create_image(img) ((mbe_pattern_t *)NULL)
 #define mbe_scaled_font_destroy(scaled)
 #define mbe_font_face_reference(face) ((mbe_font_face_t *)NULL)
 #define mbe_scaled_font_create(face, fnt_mtx, ctm) ((mbe_scaled_font_t *)NULL)