view include/mb_config.h.in @ 511:caa087976b17 Android_Skia

Fix the issue of segmentation fault when the pattern of a mbe is not setted. For Skia graphic engine, a mbe does not always have a pattern. For example, a color paint does not set a pattern on a mbe for a shape. So, we check if pattern is setted before accessing it.
author Thinker K.F. Li <thinker@branda.to>
date Tue, 01 Dec 2009 22:55:27 +0800
parents 00f6b36ec5d2
children e2c9117b1e12 21f944e79b19
line wrap: on
line source

#ifndef __MB_CONFIG_H_
#define __MB_CONFIG_H_

/* Enable Cairo Graphic Engine */
#undef CAIRO_GRAPH_ENGINE

/* Enable Skia Graphic Engine */
#undef SKIA_GRAPH_ENGINE

/* Enable sh_text */
#undef SH_TEXT

/* Enable sh_stext */
#undef SH_STEXT

/* Enable X backend */
#undef X_SUPP

#endif /* __MB_CONFIG_H_ */