HSLColor Class Reference

#include <Color.h>

List of all members.

Public Member Functions

float alpha () const
float & alpha ()
void fromColor (const Color &color)
 HSLColor (float h, float s, float l, float a=1.f)
float hue () const
float & hue ()
float lightness () const
float & lightness ()
float saturation () const
float & saturation ()
Color toColor () const

Protected Attributes

float m_alpha
float m_hue
float m_lightness
float m_saturation

Detailed Description

Definition at line 45 of file Color.h.


Constructor & Destructor Documentation

HSLColor::HSLColor ( float  h,
float  s,
float  l,
float  a = 1.f 
)

Definition at line 5 of file Color.cpp.


Member Function Documentation

float HSLColor::alpha (  )  const [inline]

Definition at line 57 of file Color.h.

float& HSLColor::alpha (  )  [inline]

Definition at line 52 of file Color.h.

void HSLColor::fromColor ( const Color color  ) 

Definition at line 11 of file Color.cpp.

float HSLColor::hue (  )  const [inline]

Definition at line 54 of file Color.h.

float& HSLColor::hue (  )  [inline]

Definition at line 49 of file Color.h.

float HSLColor::lightness (  )  const [inline]

Definition at line 56 of file Color.h.

float& HSLColor::lightness (  )  [inline]

Definition at line 51 of file Color.h.

float HSLColor::saturation (  )  const [inline]

Definition at line 55 of file Color.h.

float& HSLColor::saturation (  )  [inline]

Definition at line 50 of file Color.h.

Color HSLColor::toColor (  )  const

Definition at line 7 of file Color.cpp.


Member Data Documentation

float HSLColor::m_alpha [protected]

Definition at line 63 of file Color.h.

float HSLColor::m_hue [protected]

Definition at line 63 of file Color.h.

float HSLColor::m_lightness [protected]

Definition at line 63 of file Color.h.

float HSLColor::m_saturation [protected]

Definition at line 63 of file Color.h.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines


flirtlib
Author(s): Bhaskara Marthi, Gian Diego Tipaldi
autogenerated on Fri Jan 11 11:15:47 2013