FAQ Contact Us
CoolRay Banner
CoolRay / Documentation
Main Page   Class Hierarchy   Compound List   Compound Members   Related Pages  

Color Class Reference

concrete class color. More...

#include <Color.h>

List of all members.

Public Methods

 Color ()
 Color (double r,double g,double b,double t=0)
 Color (const Color &color)
 copy constructor.

void clip ()
double rgb_distance ()const
double rgbt_distance ()const
const Color operator+ (const Color &c)const
const Color operator- (const Color &c)const
const Color operator * (const Color &c)const
const Color operator * (const double s)const
const Color operator/ (const double s)const
Color& operator+= (const Color &c)
Color& operator-= (const Color &c)
Color& operator *= (const double s)
Color& operator/= (const double s)
Color operator- ()
Color& operator= (const Color &color)

Public Attributes

double r
double g
double b
double t

Detailed Description

concrete class color.

The documentation for this class was generated from the following file:
  • Color.h
You are visitor No.


Copyright (c) 2001 Stefan Michel, All Rights Reserved.
Last modified: