Public Member Functions | |
Manip8to32 (SDL_Color *c, SDL_PixelFormat *f) | |
uint32 | rgb (unsigned int r, unsigned int g, unsigned int b) const |
void | copy (uint32 &dest, unsigned char src) const |
void | split_source (unsigned char pix, unsigned int &r, unsigned int &g, unsigned int &b) const |
void | split_dest (uint32 pix, unsigned int &r, unsigned int &g, unsigned int &b) const |
Private Attributes | |
SDL_Color * | colors |
SDL_PixelFormat * | fmt |
Definition at line 131 of file imagescl.cc.
Manip8to32::Manip8to32 | ( | SDL_Color * | c, | |
SDL_PixelFormat * | f | |||
) | [inline] |
Definition at line 136 of file imagescl.cc.
uint32 Manip8to32::rgb | ( | unsigned int | r, | |
unsigned int | g, | |||
unsigned int | b | |||
) | const [inline] |
void Manip8to32::copy | ( | uint32 & | dest, | |
unsigned char | src | |||
) | const [inline] |
void Manip8to32::split_source | ( | unsigned char | pix, | |
unsigned int & | r, | |||
unsigned int & | g, | |||
unsigned int & | b | |||
) | const [inline] |
void Manip8to32::split_dest | ( | uint32 | pix, | |
unsigned int & | r, | |||
unsigned int & | g, | |||
unsigned int & | b | |||
) | const [inline] |
SDL_Color* Manip8to32::colors [private] |
SDL_PixelFormat* Manip8to32::fmt [private] |