SourceForge.net Logo

Demo::Color Struct Reference

#include <demo.hpp>

List of all members.

Detailed Description

Definition at line 27 of file demo.hpp.

Public Member Functions

 Color ()
 Color (float theta)
 Obtains a color from the color wheel.
void IncreaseBrightness (float factor)
 Increases a color's brightness.
void DecreaseBrightness (float factor)
 Decreases a color's brightness.
 Color (RawColor raw)
 operator RawColor ()
 operator RawColor () const
 Color (float r, float g, float b, float a)
 Color (const float *f)

Static Public Member Functions

static Color Blend (const Color &a, const Color &b, float mu)
 Interpolate two colors.

Public Attributes

union {
   struct {
      float   r
      float   g
      float   b
      float   a
   RawColor   raw

Static Public Attributes

static Color Transparent
static Color Black
static Color White
static Color PaleYellow
static Color PaleGreen
static Color PaleRed
static Color Red
static Color Green
static Color Blue

The documentation for this struct was generated from the following files:
Generated on Sat Jan 13 17:20:21 2007 for Flatland by doxygen 1.5.1