diff include/mb_shapes.h @ 472:4254eaa699d0 Android_Skia

Declare functions that should be implemented by Skia graphic engine
author Thinker K.F. Li <thinker@branda.to>
date Thu, 12 Nov 2009 21:32:52 +0800
parents af4b506ad56f
children ba64f928542b
line wrap: on
line diff
--- a/include/mb_shapes.h	Thu Nov 12 21:31:14 2009 +0800
+++ b/include/mb_shapes.h	Thu Nov 12 21:32:52 2009 +0800
@@ -11,7 +11,6 @@
 #include "mb_types.h"
 #include "mb_redraw_man.h"
 #include "mb_img_ldr.h"
-#include <pango/pangocairo.h>
 
 /*! \page define_shape How to Define Shapes
  *
@@ -71,6 +70,7 @@
 extern void sh_path_draw(shape_t *shape, mbe_t *cr);
 /* @} */
 
+#ifdef SH_TEXT
 /*! \defgroup shape_text Shape of Text
  * @{
  */
@@ -92,6 +92,7 @@
 extern void sh_text_transform(shape_t *shape);
 extern void sh_text_draw(shape_t *shape, mbe_t *cr);
 /* @} */
+#endif
 
 /*! \defgroup mb_text_t Shape of Text
  * @{