GUIDOLib
1.7.7
A Music Score Rendering Engine
|
Generic class to manipulate device independant colors. More...
Public Member Functions | |
VGColor (int gray=0) | |
VGColor (const VGColor &in) | |
VGColor (int r, int g, int b, int a=ALPHA_OPAQUE) | |
VGColor (const unsigned char col [4]) | |
void | Set (int r, int g, int b, int a=ALPHA_OPAQUE) |
void | Set (const VGColor &in) |
bool | operator== (const VGColor &col) const |
bool | operator!= (const VGColor &col) const |
VGColor & | operator+= (short v) |
std::ostream & | print (std::ostream &out) const |
Public Attributes | |
int | mRed |
int | mGreen |
int | mBlue |
int | mAlpha |
Generic class to manipulate device independant colors.
|
inline |
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
int VGColor::mAlpha |
int VGColor::mBlue |
int VGColor::mGreen |
int VGColor::mRed |