Mercurial > MadButterfly
comparison include/mb_types.h @ 1073:d09f603438d8 openvg
Merge the work of improvement for graphic engine of openvg branch
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Wed, 01 Dec 2010 20:01:49 +0800 |
parents | 7b4e80ab671a |
children | 18d718a76a45 |
comparison
equal
deleted
inserted
replaced
1072:cf82361fe5b9 | 1073:d09f603438d8 |
---|---|
8 #include "mb_observer.h" | 8 #include "mb_observer.h" |
9 #include "mb_prop.h" | 9 #include "mb_prop.h" |
10 | 10 |
11 typedef struct _shape shape_t; | 11 typedef struct _shape shape_t; |
12 typedef struct _geo geo_t; | 12 typedef struct _geo geo_t; |
13 typedef struct _area area_t; | |
14 typedef struct _shnode shnode_t; | 13 typedef struct _shnode shnode_t; |
15 typedef struct _paint paint_t; | 14 typedef struct _paint paint_t; |
16 typedef struct _mb_obj mb_obj_t; | 15 typedef struct _mb_obj mb_obj_t; |
17 typedef struct _mb_sprite mb_sprite_t; | 16 typedef struct _mb_sprite mb_sprite_t; |
18 /*! \todo Replace mbe_t with canvas_t. */ | 17 /*! \todo Replace mbe_t with canvas_t. */ |
99 #define PNTF_FREE 0x1 | 98 #define PNTF_FREE 0x1 |
100 | 99 |
101 struct _shnode { | 100 struct _shnode { |
102 shape_t *shape; | 101 shape_t *shape; |
103 shnode_t *next; | 102 shnode_t *next; |
104 }; | |
105 | |
106 struct _area { | |
107 co_aix x, y; | |
108 co_aix w, h; | |
109 }; | 103 }; |
110 | 104 |
111 /*! \brief Geometry data of a shape or a group of shape. | 105 /*! \brief Geometry data of a shape or a group of shape. |
112 */ | 106 */ |
113 struct _geo { | 107 struct _geo { |