Inheritance diagram for Manip8to16:
Public Member Functions | |
Manip8to16 (SDL_Color *c, SDL_PixelFormat *f) | |
uint16 | rgb (unsigned int r, unsigned int g, unsigned int b) const |
void | copy (uint16 &dest, unsigned char src) const |
void | split_source (unsigned char pix, unsigned int &r, unsigned int &g, unsigned int &b) const |
void | split_dest (uint16 pix, unsigned int &r, unsigned int &g, unsigned int &b) const |
Protected Attributes | |
SDL_Color * | colors |
SDL_PixelFormat * | fmt |
Written: 6/16/2000 - JSF
Definition at line 40 of file imagescl.cc.
Manip8to16::Manip8to16 | ( | SDL_Color * | c, | |
SDL_PixelFormat * | f | |||
) | [inline] |
Definition at line 46 of file imagescl.cc.
uint16 Manip8to16::rgb | ( | unsigned int | r, | |
unsigned int | g, | |||
unsigned int | b | |||
) | const [inline] |
Reimplemented in Manip8to555, and Manip8to565.
Definition at line 49 of file imagescl.cc.
References fmt.
Referenced by copy().
void Manip8to16::copy | ( | uint16 & | dest, | |
unsigned char | src | |||
) | const [inline] |
Reimplemented in Manip8to555, and Manip8to565.
Definition at line 56 of file imagescl.cc.
Here is the call graph for this function:
void Manip8to16::split_source | ( | unsigned char | pix, | |
unsigned int & | r, | |||
unsigned int & | g, | |||
unsigned int & | b | |||
) | const [inline] |
void Manip8to16::split_dest | ( | uint16 | pix, | |
unsigned int & | r, | |||
unsigned int & | g, | |||
unsigned int & | b | |||
) | const [inline] |
Reimplemented in Manip8to555, and Manip8to565.
Definition at line 69 of file imagescl.cc.
References fmt.
SDL_Color* Manip8to16::colors [protected] |
Definition at line 43 of file imagescl.cc.
Referenced by Manip8to565::copy(), Manip8to555::copy(), copy(), and split_source().
SDL_PixelFormat* Manip8to16::fmt [protected] |