paysages3d/src/basics/ColorHSL.h

20 lines
385 B
C
Raw Normal View History

2013-11-13 19:07:35 +00:00
#ifndef COLORHSL_H
#define COLORHSL_H
#include "basics_global.h"
typedef struct
{
double h;
double s;
double l;
double a;
} ColorHSL;
BASICSSHARED_EXPORT Color colorFromHSL(const ColorHSL &col);
BASICSSHARED_EXPORT ColorHSL colorToHSL(const Color &col);
2013-11-13 19:07:35 +00:00
BASICSSHARED_EXPORT ColorHSL colorHSLFromValues(double h, double s, double l, double a);
#endif // COLORHSL_H