Stg::Color Class Reference

#include <stage.hh>

List of all members.

Public Member Functions

 Color ()
 Color (const std::string &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

Detailed Description

Definition at line 210 of file stage.hh.


Constructor & Destructor Documentation

Stg::Color::Color ( float  r,
float  g,
float  b,
float  a = 1.0 
)
Stg::Color::Color ( const std::string &  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.

Stg::Color::Color (  ) 

Member Function Documentation

bool Stg::Color::operator!= ( const Color other  ) 
bool Stg::Color::operator== ( const Color other  ) 
void Stg::Color::Print ( const char *  prefix  ) 
static Color Stg::Color::RandomColor (  )  [static]

Member Data Documentation

Definition at line 213 of file stage.hh.

Definition at line 213 of file stage.hh.

Definition at line 213 of file stage.hh.

Definition at line 213 of file stage.hh.


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


stage
Author(s): Richard Vaughan, with contributions from many others. See web page for a full credits list.
autogenerated on Fri Jan 11 10:03:39 2013