gKit3
Loading...
Searching...
No Matches
Classes | Functions

Go to the source code of this file.

Classes

struct  Color
 representation d'une couleur (rgba) transparente ou opaque. More...
 

Functions

Color Black ()
 utilitaire. renvoie une couleur noire.
 
Color White ()
 utilitaire. renvoie une couleur blanche.
 
Color Red ()
 utilitaire. renvoie une couleur rouge.
 
Color Green ()
 utilitaire. renvoie une couleur verte.
 
Color Blue ()
 utilitaire. renvoie une couleur bleue.
 
Color Yellow ()
 utilitaire. renvoie une couleur jaune.
 
Color operator+ (const Color &a, const Color &b)
 
Color operator- (const Color &a, const Color &b)
 
Color operator- (const Color &c)
 
Color operator* (const Color &a, const Color &b)
 
Color operator* (const Color &c, const float k)
 
Color operator* (const float k, const Color &c)
 
Color operator/ (const Color &a, const Color &b)
 
Color operator/ (const float k, const Color &c)
 
Color operator/ (const Color &c, const float k)
 
Color operator+ (const float k, const Color &c)
 
Color operator+ (const Color &c, const float k)
 
Color srgb (const Color &color, const float g=float(2.2))
 transformation couleur : rgb lineaire vers srgb
 
Color linear (const Color &color, const float g=float(2.2))
 transformation couleur : srgb vers rgb lineaire
 
Color abs (const Color &color)
 

Detailed Description

manipulation de couleurs

Definition in file color.h.