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
|
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. |
|
Creates a copy of another color.
Definition at line 51 of file kspread/excel/sidewinder/format.h. |
|
Creates a color based on given red, green and blue values.
Definition at line 57 of file kspread/excel/sidewinder/format.h. |
|
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 not equal to c2; otherwise returns false.
Definition at line 79 of file kspread/excel/sidewinder/format.h. |
|
Returns true if c1 is equal to c2; otherwise returns false.
Definition at line 73 of file kspread/excel/sidewinder/format.h. |
The documentation for this class was generated from the following file: