Manip8to565 Class Reference

Inheritance diagram for Manip8to565:

Inheritance graph
[legend]
Collaboration diagram for Manip8to565:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

Definition at line 106 of file imagescl.cc.


Constructor & Destructor Documentation

Manip8to565::Manip8to565 ( SDL_Color *  c  )  [inline]

Definition at line 109 of file imagescl.cc.


Member Function Documentation

uint16 Manip8to565::rgb ( unsigned int  r,
unsigned int  g,
unsigned int  b 
) const [inline]

Reimplemented from Manip8to16.

Definition at line 111 of file imagescl.cc.

Referenced by copy().

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]

Reimplemented from Manip8to16.

Definition at line 119 of file imagescl.cc.


The documentation for this class was generated from the following file:
Generated on Mon Jul 9 14:57:18 2007 for ExultEngine by  doxygen 1.5.1