Public Member Functions | |
int & | A () |
const int & | A () const |
int & | B () |
const int & | B () const |
void | Clear () |
Dtk_RGB () | |
Dtk_RGB (const Dtk_RGB &s) | |
Dtk_RGB (int r, int g, int b, int a=-1, int inIndexReader=-1) | |
Dtk_RGB (int(&rgb)[3]) | |
Dtk_RGB (int(&rgba)[4]) | |
Dtk_RGB (int(&rgba)[5]) | |
int & | G () |
const int & | G () const |
void | GetRGB (int &outRed, int &outGreen, int &outBlue) |
void | GetRGBA (int &outRed, int &outGreen, int &outBlue, int &outAlpha) |
bool | HasAlpha () const |
bool | HasColor () const |
int & | IndexReader () |
const int & | IndexReader () const |
bool | IsFilled () const |
Dtk_RGB & | operator= (const Dtk_RGB &s) |
int & | operator[] (int pos) |
const int & | operator[] (int pos) const |
int & | R () |
const int & | R () const |
void | SetRGBA (const int &inRed, const int &inGreen, const int &inBlue, const int &inAlpha=-1) |
~Dtk_RGB () | |
Friends | |
bool | operator!= (const Dtk_RGB &lhs, const Dtk_RGB &rhs) |
bool | operator< (const Dtk_RGB &lhs, const Dtk_RGB &rhs) |
bool | operator<= (const Dtk_RGB &lhs, const Dtk_RGB &rhs) |
bool | operator== (const Dtk_RGB &lhs, const Dtk_RGB &rhs) |
bool | operator> (const Dtk_RGB &lhs, const Dtk_RGB &rhs) |
bool | operator>= (const Dtk_RGB &lhs, const Dtk_RGB &rhs) |
Dtk_RGB::Dtk_RGB | ( | ) |
Dtk_RGB::Dtk_RGB | ( | const Dtk_RGB & | s | ) |
Dtk_RGB::Dtk_RGB | ( | int | r, |
int | g, | ||
int | b, | ||
int | a = -1 , |
||
int | inIndexReader = -1 |
||
) |
Dtk_RGB::Dtk_RGB | ( | int(&) | rgba[5] | ) |
Dtk_RGB::Dtk_RGB | ( | int(&) | rgba[4] | ) |
Dtk_RGB::Dtk_RGB | ( | int(&) | rgb[3] | ) |
Dtk_RGB::~Dtk_RGB | ( | ) |
void Dtk_RGB::GetRGB | ( | int & | outRed, |
int & | outGreen, | ||
int & | outBlue | ||
) |
void Dtk_RGB::GetRGBA | ( | int & | outRed, |
int & | outGreen, | ||
int & | outBlue, | ||
int & | outAlpha | ||
) |
int& Dtk_RGB::operator[] | ( | int | pos | ) |
const int& Dtk_RGB::operator[] | ( | int | pos | ) | const |
void Dtk_RGB::SetRGBA | ( | const int & | inRed, |
const int & | inGreen, | ||
const int & | inBlue, | ||
const int & | inAlpha = -1 |
||
) |