LibreOffice Module slideshow (master) 1
|
HSL color space class. More...
#include <hslcolor.hxx>
Classes | |
struct | HSLTriple |
Public Member Functions | |
HSLColor () | |
HSLColor (double nHue, double nSaturation, double nLuminance) | |
HSLColor (const RGBColor &rColor) | |
double | getHue () const |
Hue of the color. More... | |
double | getSaturation () const |
Saturation of the color. More... | |
double | getLuminance () const |
Luminance of the color. More... | |
Private Attributes | |
HSLTriple | maHSLTriple |
HSL color space class.
Definition at line 32 of file hslcolor.hxx.
slideshow::internal::HSLColor::HSLColor | ( | double | nHue, |
double | nSaturation, | ||
double | nLuminance | ||
) |
|
explicit |
|
inline |
Hue of the color.
Definition at line 43 of file hslcolor.hxx.
References maHSLTriple, and slideshow::internal::HSLColor::HSLTriple::mnHue.
Referenced by slideshow::internal::interpolate(), slideshow::internal::operator*(), slideshow::internal::operator+(), and slideshow::internal::operator==().
|
inline |
Luminance of the color.
Definition at line 55 of file hslcolor.hxx.
References maHSLTriple, and slideshow::internal::HSLColor::HSLTriple::mnLuminance.
Referenced by slideshow::internal::interpolate(), slideshow::internal::operator*(), slideshow::internal::operator+(), and slideshow::internal::operator==().
|
inline |
Saturation of the color.
Definition at line 49 of file hslcolor.hxx.
References maHSLTriple, and slideshow::internal::HSLColor::HSLTriple::mnSaturation.
Referenced by slideshow::internal::interpolate(), slideshow::internal::operator*(), slideshow::internal::operator+(), and slideshow::internal::operator==().
|
private |
Definition at line 72 of file hslcolor.hxx.
Referenced by getHue(), getLuminance(), and getSaturation().