filters
Swinder::Color Class Reference
#include <format.h>
Detailed Description
Provides color based on RGB values.Class Color provides color based on terms of RGB (red, green and blue) components.
Definition at line 37 of file kspread/excel/sidewinder/format.h.
Public Member Functions | |
Color () | |
Color (const Color &c) | |
Color (unsigned r, unsigned g, unsigned b) | |
Color (const char *c) | |
Public Attributes | |
unsigned | red |
unsigned | green |
unsigned | blue |
Friends | |
bool | operator== (const Color &, const Color &) |
bool | operator!= (const Color &, const Color &) |
Constructor & Destructor Documentation
Swinder::Color::Color | ( | ) | [inline] |
Constructs a default color with the RGB value (0, 0, 0), i.e black.
Definition at line 46 of file kspread/excel/sidewinder/format.h.
Swinder::Color::Color | ( | const Color & | c | ) | [inline] |
Swinder::Color::Color | ( | unsigned | r, | |
unsigned | g, | |||
unsigned | b | |||
) | [inline] |
Creates a color based on given red, green and blue values.
Definition at line 57 of file kspread/excel/sidewinder/format.h.
Swinder::Color::Color | ( | const char * | c | ) | [inline] |
Creates a color based on given red, green and blue values, encoded as RRGGBB in a string.
Definition at line 63 of file kspread/excel/sidewinder/format.h.
Friends And Related Function Documentation
Returns true if c1 is equal to c2; otherwise returns false.
Definition at line 73 of file kspread/excel/sidewinder/format.h.
Returns true if c1 is not equal to c2; otherwise returns false.
Definition at line 79 of file kspread/excel/sidewinder/format.h.
The documentation for this class was generated from the following file: