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;
|
|
|
|
|
2015-08-19 17:14:59 +00:00
|
|
|
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
|