Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

VDKRgb Class Reference

Provides a simple RGB color structure. More...

#include <vdkutils.h>

List of all members.

Public Methods


Detailed Description

Provides a simple RGB color structure.


Constructor & Destructor Documentation

VDKRgb::VDKRgb int    r = 0,
int    g = 0,
int    b = 0
[inline]
 

Constructor

Parameters:
r  red component (0-256)
g  green component
b  blue component

VDKRgb::~VDKRgb   [inline]
 

Destructor

VDKRgb::VDKRgb char *    name [inline]
 

Constructor

Parameters:
name  names are those provided in rgb X database (normally on /usr/lib/X11/rgb.txt )


Member Function Documentation

bool VDKRgb::IsValid   const [inline]
 

Returns true if a valid color was loaded

bool VDKRgb::operator== VDKRgb &    c const [inline]
 

Equality operator


The documentation for this class was generated from the following file:
Generated on Sat May 4 23:45:53 2002 for vdk 2.0.1 by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002