LibreOffice Module slideshow (master) 1
|
RGB color space class. More...
#include <rgbcolor.hxx>
Classes | |
struct | RGBTriple |
Public Member Functions | |
RGBColor () | |
RGBColor (::cppcanvas::IntSRGBA nRGBColor) | |
RGBColor (double nRed, double nGreen, double nBlue) | |
RGBColor (const HSLColor &rColor) | |
double | getRed () const |
Get the RGB red value. More... | |
double | getGreen () const |
Get the RGB green value. More... | |
double | getBlue () const |
Get the RGB blue value. More... | |
::cppcanvas::IntSRGBA | getIntegerColor () const |
Create an integer sRGBA color. More... | |
Private Attributes | |
RGBTriple | maRGBTriple |
RGB color space class.
Definition at line 34 of file rgbcolor.hxx.
|
explicit |
Definition at line 279 of file color.cxx.
References getBlue(), getGreen(), and getRed().
slideshow::internal::RGBColor::RGBColor | ( | double | nRed, |
double | nGreen, | ||
double | nBlue | ||
) |
|
explicit |
|
inline |
Get the RGB blue value.
Definition at line 52 of file rgbcolor.hxx.
References maRGBTriple, and slideshow::internal::RGBColor::RGBTriple::mnBlue.
Referenced by getIntegerColor(), slideshow::internal::interpolate(), slideshow::internal::operator*(), slideshow::internal::operator+(), and slideshow::internal::operator==().
|
inline |
Get the RGB green value.
Definition at line 48 of file rgbcolor.hxx.
References maRGBTriple, and slideshow::internal::RGBColor::RGBTriple::mnGreen.
Referenced by getIntegerColor(), slideshow::internal::interpolate(), slideshow::internal::operator*(), slideshow::internal::operator+(), and slideshow::internal::operator==().
cppcanvas::IntSRGBA slideshow::internal::RGBColor::getIntegerColor | ( | ) | const |
Create an integer sRGBA color.
Definition at line 299 of file color.cxx.
References getBlue(), getGreen(), and getRed().
Referenced by slideshow::internal::PaintOverlayHandler::handleMouseDragged().
|
inline |
Get the RGB red value.
Definition at line 44 of file rgbcolor.hxx.
References maRGBTriple, and slideshow::internal::RGBColor::RGBTriple::mnRed.
Referenced by getIntegerColor(), slideshow::internal::interpolate(), slideshow::internal::operator*(), slideshow::internal::operator+(), and slideshow::internal::operator==().
|
private |
Definition at line 73 of file rgbcolor.hxx.
Referenced by getBlue(), getGreen(), and getRed().