diff include/mb_basic_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
line wrap: on
line diff
--- a/include/mb_basic_types.h	Wed Dec 01 19:59:58 2010 +0800
+++ b/include/mb_basic_types.h	Wed Dec 01 20:01:49 2010 +0800
@@ -10,4 +10,15 @@
     co_comp_t r, g, b, a;
 } grad_stop_t;
 
+/*! \brief An rectangle area.
+ *
+ * This type is used to describe an rectangle area in an image or on a
+ * screen.
+ */
+struct _area {
+    co_aix x, y;
+    co_aix w, h;
+};
+typedef struct _area area_t;
+
 #endif /* __MB_BASIC_TYPES_H_ */