# HG changeset patch # User Thinker K.F. Li # Date 1277973082 -28800 # Node ID 28aa5e53abaaf5978ad09392fb4161b618c72287 # Parent aba62eb9362d65a29d14c27bb32c74276adb3300 Remove unused macros for graphic engines diff -r aba62eb9362d -r 28aa5e53abaa include/mb_graph_engine_cairo.h --- a/include/mb_graph_engine_cairo.h Thu Jul 01 16:16:46 2010 +0800 +++ b/include/mb_graph_engine_cairo.h Thu Jul 01 16:31:22 2010 +0800 @@ -10,10 +10,6 @@ /*! \defgroup mb_ge_cairo MadButterfly Graphic Engine with Cairo * @{ */ -#define MBE_OPERATOR_CLEAR CAIRO_OPERATOR_CLEAR -#define MBE_OPERATOR_SOURCE CAIRO_OPERATOR_SOURCE -#define MBE_STATUS_SUCCESS CAIRO_STATUS_SUCCESS - #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 diff -r aba62eb9362d -r 28aa5e53abaa include/mb_graph_engine_dummy.h --- a/include/mb_graph_engine_dummy.h Thu Jul 01 16:16:46 2010 +0800 +++ b/include/mb_graph_engine_dummy.h Thu Jul 01 16:31:22 2010 +0800 @@ -11,10 +11,6 @@ /*! \defgroup mb_ge_cairo MadButterfly Graphic Engine with Cairo * @{ */ -#define MBE_OPERATOR_CLEAR OPENVG_OPERATOR_CLEAR -#define MBE_OPERATOR_SOURCE OPENVG_OPERATOR_SOURCE -#define MBE_STATUS_SUCCESS OPENVG_STATUS_SUCCESS - #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) diff -r aba62eb9362d -r 28aa5e53abaa include/mb_graph_engine_openvg.h --- a/include/mb_graph_engine_openvg.h Thu Jul 01 16:16:46 2010 +0800 +++ b/include/mb_graph_engine_openvg.h Thu Jul 01 16:31:22 2010 +0800 @@ -11,10 +11,6 @@ /*! \defgroup mb_ge_cairo MadButterfly Graphic Engine with Cairo * @{ */ -#define MBE_OPERATOR_CLEAR OPENVG_OPERATOR_CLEAR -#define MBE_OPERATOR_SOURCE OPENVG_OPERATOR_SOURCE -#define MBE_STATUS_SUCCESS OPENVG_STATUS_SUCCESS - #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) diff -r aba62eb9362d -r 28aa5e53abaa include/mb_graph_engine_skia.h --- a/include/mb_graph_engine_skia.h Thu Jul 01 16:16:46 2010 +0800 +++ b/include/mb_graph_engine_skia.h Thu Jul 01 16:31:22 2010 +0800 @@ -8,10 +8,6 @@ /*! \defgroup mb_ge_skia MadButterfly Graphic Engine with Skia * @{ */ -#define MBE_OPERATOR_CLEAR 2 -#define MBE_OPERATOR_SOURCE 1 -#define MBE_STATUS_SUCCESS 0 - struct _mbe_text_extents_t { co_aix x_bearing; co_aix y_bearing;