Stg::Color Class Reference

#include <stage.hh>

List of all members.


Public Member Functions

 Color ()
 Color (const char *name)
 Color (float r, float g, float b, float a=1.0)
bool operator!= (const Color &other)
bool operator== (const Color &other)
void Print (const char *prefix)

Static Public Member Functions

static Color RandomColor ()

Public Attributes

float a
float b
float g
float r

Constructor & Destructor Documentation

Color::Color ( float  r,
float  g,
float  b,
float  a = 1.0 
)

Color::Color ( const char *  name  ) 

Look up the color in the X11-style database. If the color is not found in the database, a cheerful red color will be used instead.

Color::Color (  ) 


Member Function Documentation

bool Color::operator!= ( const Color other  ) 

bool Color::operator== ( const Color other  ) 

void Color::Print ( const char *  prefix  ) 

Color Color::RandomColor (  )  [static]


Member Data Documentation


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

Generated on Wed Jul 22 11:51:05 2009 for Stage by  doxygen 1.5.9