annotate include/mb_basic_types.h @ 618:35a67a837a53 openvg

Use reference count to trace life of _ge_openvg_img_t objects
author Thinker K.F. Li <thinker@branda.to>
date Thu, 08 Jul 2010 13:51:47 +0800
parents b42d69ab8857
children 7b4e80ab671a
rev   line source
480
e813ac222f48 Merge add colors into constructor of gradient pattern.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
1 #ifndef __MB_BASIC_TYPES_H_
e813ac222f48 Merge add colors into constructor of gradient pattern.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
2 #define __MB_BASIC_TYPES_H_
e813ac222f48 Merge add colors into constructor of gradient pattern.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
3
e813ac222f48 Merge add colors into constructor of gradient pattern.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
4 typedef float co_aix;
e813ac222f48 Merge add colors into constructor of gradient pattern.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
5 typedef float co_comp_t;
e813ac222f48 Merge add colors into constructor of gradient pattern.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
6 typedef struct _grad_stop {
e813ac222f48 Merge add colors into constructor of gradient pattern.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
7 co_aix offset;
e813ac222f48 Merge add colors into constructor of gradient pattern.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
8 co_comp_t r, g, b, a;
e813ac222f48 Merge add colors into constructor of gradient pattern.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
9 } grad_stop_t;
586
b42d69ab8857 Replace mbe_clip() with mbe_scissoring()
Thinker K.F. Li <thinker@branda.to>
parents: 480
diff changeset
10 typedef struct _area {
b42d69ab8857 Replace mbe_clip() with mbe_scissoring()
Thinker K.F. Li <thinker@branda.to>
parents: 480
diff changeset
11 co_aix x, y;
b42d69ab8857 Replace mbe_clip() with mbe_scissoring()
Thinker K.F. Li <thinker@branda.to>
parents: 480
diff changeset
12 co_aix w, h;
b42d69ab8857 Replace mbe_clip() with mbe_scissoring()
Thinker K.F. Li <thinker@branda.to>
parents: 480
diff changeset
13 } area_t;
480
e813ac222f48 Merge add colors into constructor of gradient pattern.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
14
e813ac222f48 Merge add colors into constructor of gradient pattern.
Thinker K.F. Li <thinker@branda.to>
parents:
diff changeset
15 #endif /* __MB_BASIC_TYPES_H_ */