Public Member Functions | |
Manip8to565 (SDL_Color *c) | |
uint16 | rgb (unsigned int r, unsigned int g, unsigned int b) const |
void | copy (uint16 &dest, unsigned char src) const |
void | split_dest (uint16 pix, unsigned int &r, unsigned int &g, unsigned int &b) const |
Definition at line 106 of file imagescl.cc.
Manip8to565::Manip8to565 | ( | SDL_Color * | c | ) | [inline] |
Definition at line 109 of file imagescl.cc.
uint16 Manip8to565::rgb | ( | unsigned int | r, | |
unsigned int | g, | |||
unsigned int | b | |||
) | const [inline] |
void Manip8to565::copy | ( | uint16 & | dest, | |
unsigned char | src | |||
) | const [inline] |
Reimplemented from Manip8to16.
Definition at line 114 of file imagescl.cc.
References Manip8to16::colors, and rgb().
Here is the call graph for this function:
void Manip8to565::split_dest | ( | uint16 | pix, | |
unsigned int & | r, | |||
unsigned int & | g, | |||
unsigned int & | b | |||
) | const [inline] |