papyrus logo

Papyrus::HSBA Struct Reference

A structure containing a HSBA value. More...

#include <hsba.h>

List of all members.

Public Member Functions

 HSBA (double h=0.0, double s=0.0, double b=0.0, double a=1.0)
 HSBA (const RGBA &rgb)
double operator[] (unsigned index)
HSBAoperator= (const RGBA &rgb)
 operator RGBA () const
 operator Cairo::RefPtr< Cairo::Pattern > ()

Public Attributes

double hue
double saturation
double brightness
double alpha

Detailed Description

A structure containing a HSBA value.


Constructor & Destructor Documentation

Papyrus::HSBA::HSBA ( double  h = 0.0,
double  s = 0.0,
double  b = 0.0,
double  a = 1.0 
)
Papyrus::HSBA::HSBA ( const RGBA rgb  ) 

Member Function Documentation

Papyrus::HSBA::operator Cairo::RefPtr< Cairo::Pattern > (  ) 
Papyrus::HSBA::operator RGBA (  )  const
HSBA & Papyrus::HSBA::operator= ( const RGBA rgb  ) 
double Papyrus::HSBA::operator[] ( unsigned  index  ) 

References alpha, brightness, hue, 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