Relacs Plot Library  0.9.8
Public Member Functions | List of all members
Plot::RGBColor Class Reference

#include <plot.h>

Public Member Functions

 RGBColor (const RGBColor &rgb)
 
 RGBColor (int r, int g, int b)
 
 RGBColor (void)
 
bool operator== (const RGBColor &c)
 
unsigned char red (void) const
 
void setRed (int r)
 
unsigned char green (void) const
 
void setGreen (int g)
 
unsigned char blue (void) const
 
void setBlue (int b)
 
RGBColor lighten (double f) const
 

Detailed Description

An RGB-Color.

Author
Jan Benda

Constructor & Destructor Documentation

RGBColor ( const RGBColor rgb)
inline
RGBColor ( int  r,
int  g,
int  b 
)
inline
RGBColor ( void  )
inline

Member Function Documentation

bool operator== ( const RGBColor c)
unsigned char red ( void  ) const
inline
void setRed ( int  r)
inline
unsigned char green ( void  ) const
inline
void setGreen ( int  g)
inline
unsigned char blue ( void  ) const
inline
void setBlue ( int  b)
inline
Plot::RGBColor lighten ( double  f) const

Multiply each color with f.

References Plot::Blue, Plot::Green, and Plot::Red.


The documentation for this class was generated from the following files: