comparison include/mb_types.h @ 586:b42d69ab8857 openvg

Replace mbe_clip() with mbe_scissoring()
author Thinker K.F. Li <thinker@branda.to>
date Wed, 30 Jun 2010 13:28:53 +0800
parents 49e79253b6d3
children 7b4e80ab671a
comparison
equal deleted inserted replaced
585:6af1aa74e57c 586:b42d69ab8857
6 #include "mb_observer.h" 6 #include "mb_observer.h"
7 #include "mb_prop.h" 7 #include "mb_prop.h"
8 8
9 typedef struct _shape shape_t; 9 typedef struct _shape shape_t;
10 typedef struct _geo geo_t; 10 typedef struct _geo geo_t;
11 typedef struct _area area_t;
12 typedef struct _shnode shnode_t; 11 typedef struct _shnode shnode_t;
13 typedef struct _paint paint_t; 12 typedef struct _paint paint_t;
14 typedef struct _mb_obj mb_obj_t; 13 typedef struct _mb_obj mb_obj_t;
15 typedef struct _mb_sprite mb_sprite_t; 14 typedef struct _mb_sprite mb_sprite_t;
16 /*! \todo Replace mbe_t with canvas_t. */ 15 /*! \todo Replace mbe_t with canvas_t. */
95 #define PNTF_FREE 0x1 94 #define PNTF_FREE 0x1
96 95
97 struct _shnode { 96 struct _shnode {
98 shape_t *shape; 97 shape_t *shape;
99 shnode_t *next; 98 shnode_t *next;
100 };
101
102 struct _area {
103 co_aix x, y;
104 co_aix w, h;
105 }; 99 };
106 100
107 /*! \brief Geometry data of a shape or a group of shape. 101 /*! \brief Geometry data of a shape or a group of shape.
108 */ 102 */
109 struct _geo { 103 struct _geo {