Mercurial > MadButterfly
comparison include/mb_graph_engine.h @ 579:e2c9117b1e12 openvg
Add an option to enable OpenVG graphic engine
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Wed, 16 Jun 2010 21:28:57 +0800 |
parents | 4254eaa699d0 |
children | 7b4e80ab671a |
comparison
equal
deleted
inserted
replaced
578:fd5f5d9e00d2 | 579:e2c9117b1e12 |
---|---|
1 /*! \page create_graph_engine Create a Graphic Engine. | |
2 * | |
3 * To create a graphic engine, you need to declare and define types | |
4 * and functions that had been declared in | |
5 * include/mb_graph_engine_cairo.h in a separated header an c file. | |
6 * Likes what mb_graph_engine_skia.h does. | |
7 * | |
8 * You should also add options in configure.ac to enable the graphic | |
9 * engine. You also need to add lines in include/mb_config.h.in and | |
10 * include/mb_graph_engine.h to include correct header for the graphic | |
11 * engine enabled by the user. | |
12 */ | |
1 #ifndef __MBE_H_ | 13 #ifndef __MBE_H_ |
2 #define __MBE_H_ | 14 #define __MBE_H_ |
3 #include <mb_config.h> | 15 #include <mb_config.h> |
4 | 16 |
5 #ifdef CAIRO_GRAPH_ENGINE | 17 #ifdef CAIRO_GRAPH_ENGINE |
8 | 20 |
9 #ifdef SKIA_GRAPH_ENGINE | 21 #ifdef SKIA_GRAPH_ENGINE |
10 #include <mb_graph_engine_skia.h> | 22 #include <mb_graph_engine_skia.h> |
11 #endif | 23 #endif |
12 | 24 |
25 #ifdef OPENVG_GRAPH_ENGINE | |
26 #include <mb_graph_engine_openvg.h> | |
27 #endif | |
28 | |
13 #endif /* __MBE_H_ */ | 29 #endif /* __MBE_H_ */ |