Manip8to32 Class Reference

Collaboration diagram for Manip8to32:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

Definition at line 131 of file imagescl.cc.


Constructor & Destructor Documentation

Manip8to32::Manip8to32 ( SDL_Color *  c,
SDL_PixelFormat *  f 
) [inline]

Definition at line 136 of file imagescl.cc.


Member Function Documentation

uint32 Manip8to32::rgb ( unsigned int  r,
unsigned int  g,
unsigned int  b 
) const [inline]

Definition at line 139 of file imagescl.cc.

References fmt.

Referenced by copy().

void Manip8to32::copy ( uint32 dest,
unsigned char  src 
) const [inline]

Definition at line 146 of file imagescl.cc.

References colors, and rgb().

Here is the call graph for this function:

void Manip8to32::split_source ( unsigned char  pix,
unsigned int &  r,
unsigned int &  g,
unsigned int &  b 
) const [inline]

Definition at line 151 of file imagescl.cc.

References colors.

void Manip8to32::split_dest ( uint32  pix,
unsigned int &  r,
unsigned int &  g,
unsigned int &  b 
) const [inline]

Definition at line 159 of file imagescl.cc.

References fmt.


Member Data Documentation

SDL_Color* Manip8to32::colors [private]

Definition at line 133 of file imagescl.cc.

Referenced by copy(), and split_source().

SDL_PixelFormat* Manip8to32::fmt [private]

Definition at line 134 of file imagescl.cc.

Referenced by rgb(), and split_dest().


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