#include <cmath>
#include <qglobal.h>
#include "KoColorConversions.h"
Graphe des dépendances par inclusion de KoColorConversions.cpp:
Aller au code source de ce fichier.
Macros | |
#define | EPSILON 1e-6 |
#define | UNDEFINED_HUE -1 |
Fonctions | |
void | rgb_to_hsv (int R, int G, int B, int *H, int *S, int *V) |
void | hsv_to_rgb (int H, int S, int V, int *R, int *G, int *B) |
void | RGBToHSV (float r, float g, float b, float *h, float *s, float *v) |
void | HSVToRGB (float h, float s, float v, float *r, float *g, float *b) |
void | rgb_to_hls (quint8 red, quint8 green, quint8 blue, float *hue, float *lightness, float *saturation) |
float | hue_value (float n1, float n2, float hue) |
void | hls_to_rgb (float h, float l, float s, quint8 *r, quint8 *g, quint8 *b) |
void | rgb_to_hls (quint8 r, quint8 g, quint8 b, int *h, int *l, int *s) |
void | hls_to_rgb (int h, int l, int s, quint8 *r, quint8 *g, quint8 *b) |
void | RGBToHSL (float r, float g, float b, float *h, float *s, float *l) |
void | HSLToRGB (float h, float sl, float l, float *r, float *g, float *b) |
#define EPSILON 1e-6 |
Définition à la ligne 144 du fichier KoColorConversions.cpp.
Référencé par HSVToRGB(), RGBToHSV(), KoColorConversionsTester::testRGBHSL(), et KoColorConversionsTester::testRGBHSV().
#define UNDEFINED_HUE -1 |
Définition à la ligne 145 du fichier KoColorConversions.cpp.
Référencé par HSVToRGB(), RGBToHSL(), et RGBToHSV().
void hls_to_rgb | ( | int | h, | |
int | l, | |||
int | s, | |||
quint8 * | r, | |||
quint8 * | g, | |||
quint8 * | b | |||
) |
Définition à la ligne 336 du fichier KoColorConversions.cpp.
Références hls_to_rgb().
Voici le graphe d'appel pour cette fonction :
void hls_to_rgb | ( | float | h, | |
float | l, | |||
float | s, | |||
quint8 * | r, | |||
quint8 * | g, | |||
quint8 * | b | |||
) |
Définition à la ligne 309 du fichier KoColorConversions.cpp.
Référencé par hls_to_rgb().
Voici le graphe d'appel pour cette fonction :
void HSLToRGB | ( | float | h, | |
float | sl, | |||
float | l, | |||
float * | r, | |||
float * | g, | |||
float * | b | |||
) |
Définition à la ligne 391 du fichier KoColorConversions.cpp.
Référencé par KoColorConversionsTester::testRGBHSL().
Voici le graphe d'appel pour cette fonction :
void hsv_to_rgb | ( | int | H, | |
int | S, | |||
int | V, | |||
int * | R, | |||
int * | G, | |||
int * | B | |||
) |
void HSVToRGB | ( | float | h, | |
float | s, | |||
float | v, | |||
float * | r, | |||
float * | g, | |||
float * | b | |||
) |
Définition à la ligne 180 du fichier KoColorConversions.cpp.
Références EPSILON, gensymbolfontmap::f, et UNDEFINED_HUE.
Référencé par KoColorConversionsTester::testRGBHSV().
Voici le graphe d'appel pour cette fonction :
float hue_value | ( | float | n1, | |
float | n2, | |||
float | hue | |||
) |
Définition à la ligne 293 du fichier KoColorConversions.cpp.
Référencé par hls_to_rgb().
Voici le graphe d'appel pour cette fonction :
void rgb_to_hls | ( | quint8 | r, | |
quint8 | g, | |||
quint8 | b, | |||
int * | h, | |||
int * | l, | |||
int * | s | |||
) |
Définition à la ligne 326 du fichier KoColorConversions.cpp.
Références Py::int, et rgb_to_hls().
Voici le graphe d'appel pour cette fonction :
void rgb_to_hls | ( | quint8 | red, | |
quint8 | green, | |||
quint8 | blue, | |||
float * | hue, | |||
float * | lightness, | |||
float * | saturation | |||
) |
Définition à la ligne 238 du fichier KoColorConversions.cpp.
Référencé par rgb_to_hls().
Voici le graphe d'appel pour cette fonction :
void rgb_to_hsv | ( | int | R, | |
int | G, | |||
int | B, | |||
int * | H, | |||
int * | S, | |||
int * | V | |||
) |
A number of often-used conversions between color models
Définition à la ligne 29 du fichier KoColorConversions.cpp.
void RGBToHSL | ( | float | r, | |
float | g, | |||
float | b, | |||
float * | h, | |||
float * | s, | |||
float * | l | |||
) |
Définition à la ligne 351 du fichier KoColorConversions.cpp.
Références UNDEFINED_HUE.
Référencé par KoColorConversionsTester::testRGBHSL().
Voici le graphe d'appel pour cette fonction :
void RGBToHSV | ( | float | r, | |
float | g, | |||
float | b, | |||
float * | h, | |||
float * | s, | |||
float * | v | |||
) |
Définition à la ligne 147 du fichier KoColorConversions.cpp.
Références EPSILON, et UNDEFINED_HUE.
Référencé par KoColorConversionsTester::testRGBHSV().
Voici le graphe d'appel pour cette fonction :