Mercurial > MadButterfly
annotate include/mb_basic_types.h @ 497:6abc53f00792 Android_Skia
It may not need to call unref() for xfermode object.
unref() makes compile-time fault. It seems Skia don't want we to call
it. It is removed temporary and should be reviewed, later.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Thu, 26 Nov 2009 15:03:01 +0800 |
parents | e813ac222f48 |
children | b42d69ab8857 586e50f82c1f |
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; |
e813ac222f48
Merge add colors into constructor of gradient pattern.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
10 |
e813ac222f48
Merge add colors into constructor of gradient pattern.
Thinker K.F. Li <thinker@branda.to>
parents:
diff
changeset
|
11 #endif /* __MB_BASIC_TYPES_H_ */ |