Back to index

nux  3.0.0
Public Member Functions | Public Attributes
nux::color::RedGreenBlue Class Reference

#include <Color.h>

List of all members.

Public Member Functions

 RedGreenBlue (float r, float g, float b)
 RedGreenBlue (HueSaturationValue const &)
 RedGreenBlue (HueLightnessSaturation const &)

Public Attributes

float red
float green
float blue

Detailed Description

Definition at line 196 of file Color.h.


Constructor & Destructor Documentation

nux::color::RedGreenBlue::RedGreenBlue ( float  r,
float  g,
float  b 
)

Definition at line 473 of file Color.cpp.

  : red(r)
  , green(g)
  , blue(b)
  {}

Definition at line 479 of file Color.cpp.

  {
    HSVtoRGB(red, green, blue, hsv.hue, hsv.saturation, hsv.value);
  }

Here is the call graph for this function:

Definition at line 484 of file Color.cpp.

  {
    HLStoRGB(red, green, blue, hls.hue, hls.lightness, hls.saturation);
  }

Here is the call graph for this function:


Member Data Documentation

Definition at line 205 of file Color.h.

Definition at line 204 of file Color.h.

Definition at line 203 of file Color.h.


The documentation for this class was generated from the following files: