papyrus logo

Papyrus::HSLA Struct Reference

A structure containing a HSLA value. More...

#include <hsla.h>

List of all members.

Public Member Functions

 HSLA (double h=0.0, double s=0.0, double l=0.0, double a=0.0)
 HSLA (const RGBA &rgb)
double operator[] (unsigned index)
HSLAoperator= (const RGBA &rgb)
 operator RGBA ()

Public Attributes

double hue
double saturation
double lightness
double alpha

Detailed Description

A structure containing a HSLA value.


Constructor & Destructor Documentation

Papyrus::HSLA::HSLA ( double  h = 0.0,
double  s = 0.0,
double  l = 0.0,
double  a = 0.0 
)
Papyrus::HSLA::HSLA ( const RGBA rgb  ) 

Member Function Documentation

Papyrus::HSLA::operator RGBA (  ) 
HSLA & Papyrus::HSLA::operator= ( const RGBA rgb  ) 
double Papyrus::HSLA::operator[] ( unsigned  index  ) 

References alpha, hue, lightness, and saturation.


Member Data Documentation


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

Generated on Fri Apr 16 12:41:07 2010 for papyrus by doxygen 1.6.1