changeset 599:28aa5e53abaa openvg

Remove unused macros for graphic engines
author Thinker K.F. Li <thinker@branda.to>
date Thu, 01 Jul 2010 16:31:22 +0800
parents aba62eb9362d
children 20b396c09c23
files include/mb_graph_engine_cairo.h include/mb_graph_engine_dummy.h include/mb_graph_engine_openvg.h include/mb_graph_engine_skia.h
diffstat 4 files changed, 0 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- 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
--- 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)
--- 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)
--- 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;