summaryrefslogtreecommitdiff
path: root/src/lib/evas/common/evas_convert_color.h
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2012-11-04 11:51:42 +0000
committerVincent Torri <vincent.torri@gmail.com>2012-11-04 11:51:42 +0000
commitc15e9c6575c3b5f39ded167dda5259de3de96151 (patch)
tree5115d7ae3620af24c2bc094cd062575af7adeda9 /src/lib/evas/common/evas_convert_color.h
parenta5ac6a987caec5a7f7596a25d0a065b9cc94c50c (diff)
merge: and now Evas
I've tested make -j 3 install and it works nicely I've tested expedite with software and opengl xlib, and it works. Not tested other engines, so please report any problems (engines or other) on the ML. TODO: examples and tests, I'll add them later ISSUE: Eina_Unicode size check. It indirectly depends on eina_config.h, which is created at the end of the configure script. So its size is always 0. I don't know how that size is used, so I can't do a lot, for now. SVN revision: 78895
Diffstat (limited to 'src/lib/evas/common/evas_convert_color.h')
-rw-r--r--src/lib/evas/common/evas_convert_color.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/lib/evas/common/evas_convert_color.h b/src/lib/evas/common/evas_convert_color.h
new file mode 100644
index 0000000000..0224879edd
--- /dev/null
+++ b/src/lib/evas/common/evas_convert_color.h
@@ -0,0 +1,16 @@
1#ifndef _EVAS_CONVERT_COLOR_H
2#define _EVAS_CONVERT_COLOR_H
3
4
5EAPI DATA32 evas_common_convert_argb_premul (DATA32 *src, unsigned int len);
6EAPI void evas_common_convert_argb_unpremul (DATA32 *src, unsigned int len);
7EAPI void evas_common_convert_color_argb_premul (int a, int *r, int *g, int *b);
8EAPI void evas_common_convert_color_argb_unpremul (int a, int *r, int *g, int *b);
9
10EAPI void evas_common_convert_color_hsv_to_rgb (float h, float s, float v, int *r, int *g, int *b);
11EAPI void evas_common_convert_color_rgb_to_hsv (int r, int g, int b, float *h, float *s, float *v);
12EAPI void evas_common_convert_color_hsv_to_rgb_int (int h, int s, int v, int *r, int *g, int *b);
13EAPI void evas_common_convert_color_rgb_to_hsv_int (int r, int g, int b, int *h, int *s, int *v);
14
15
16#endif /* _EVAS_CONVERT_COLOR_H */