include math! and stuff.

SVN revision: 16783
This commit is contained in:
Carsten Haitzler 2005-09-20 08:49:24 +00:00
parent df9a662ba5
commit d2d484c968
1 changed files with 6 additions and 0 deletions

View File

@ -1,6 +1,12 @@
#ifndef __COLOR_HELPERS
#define __COLOR_HELPERS 1
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <math.h>
void __imlib_rgb_to_hsv(int r, int g, int b, float *hue, float *saturation, float *value);
void __imlib_hsv_to_rgb(float hue, float saturation, float value, int *r, int *g, int *b);
void __imlib_rgb_to_hls(int r, int g, int b, float *hue, float *lightness, float *saturation);