2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
5 #ifndef _EVAS_CONVERT_COLOR_H
6 #define _EVAS_CONVERT_COLOR_H
9 EAPI void evas_common_convert_argb_premul (DATA32 *src, unsigned int len);
10 EAPI void evas_common_convert_argb_unpremul (DATA32 *src, unsigned int len);
11 EAPI void evas_common_convert_color_argb_premul (int a, int *r, int *g, int *b);
12 EAPI void evas_common_convert_color_argb_unpremul (int a, int *r, int *g, int *b);
14 EAPI void evas_common_convert_color_hsv_to_rgb (float h, float s, float v, int *r, int *g, int *b);
15 EAPI void evas_common_convert_color_rgb_to_hsv (int r, int g, int b, float *h, float *s, float *v);
16 EAPI void evas_common_convert_color_hsv_to_rgb_int (int h, int s, int v, int *r, int *g, int *b);
17 EAPI void evas_common_convert_color_rgb_to_hsv_int (int r, int g, int b, int *h, int *s, int *v);
20 #endif /* _EVAS_CONVERT_COLOR_H */