Main Page   Class Hierarchy   Compound List   File List   Compound Members  

ColColourRGB Class Reference

Definition of a colour in an RGB colourspace. More...

#include <freecloth/colour/colColourRGB.h>

Collaboration diagram for ColColourRGB:

Collaboration graph
[legend]
List of all members.

Public Methods

 ColColourRGB ()
 ColColourRGB (Float r, Float g, Float b)
 ColColourRGB (const ColColourRGB &colA, const ColColourRGB &colB, Float fracA)
 Linear combination of two colours.

ColColourRGB & operator *= (Float val)
ColColourRGB operator * (Float val) const

Public Attributes

Float _r
Float _g
Float _b

Static Public Attributes

const ColColourRGB BLACK
const ColColourRGB WHITE
const ColColourRGB RED
const ColColourRGB GREEN
const ColColourRGB BLUE
const ColColourRGB CYAN
const ColColourRGB MAGENTA
const ColColourRGB YELLOW

Detailed Description

Definition of a colour in an RGB colourspace.

Very rudimentary.

Definition at line 36 of file colColourRGB.h.


The documentation for this class was generated from the following files:
Generated on Fri May 2 16:51:15 2003 for Freecloth by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002