Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

ColorConverter< BytesPerSourcePixel, BytesPerTargetPixel > Class Template Reference

#include <blitter.h>

List of all members.

Public Types

typedef PixelSize2Type< BytesPerTargetPixel
>::PixelType 
SourcePixelType
typedef PixelSize2Type< BytesPerTargetPixel
>::PixelType 
TargetPixelType

Public Member Functions

 ColorConverter (const Surface &sourceSurface, Surface &targetSurface)
TargetPixelType convert (SourcePixelType sp)

template<int BytesPerSourcePixel, int BytesPerTargetPixel>
class ColorConverter< BytesPerSourcePixel, BytesPerTargetPixel >


Member Typedef Documentation

template<int BytesPerSourcePixel, int BytesPerTargetPixel>
typedef PixelSize2Type<BytesPerTargetPixel>::PixelType ColorConverter< BytesPerSourcePixel, BytesPerTargetPixel >::SourcePixelType
 

Definition at line 194 of file blitter.h.

template<int BytesPerSourcePixel, int BytesPerTargetPixel>
typedef PixelSize2Type<BytesPerTargetPixel>::PixelType ColorConverter< BytesPerSourcePixel, BytesPerTargetPixel >::TargetPixelType
 

Definition at line 195 of file blitter.h.


Constructor & Destructor Documentation

template<int BytesPerSourcePixel, int BytesPerTargetPixel>
ColorConverter< BytesPerSourcePixel, BytesPerTargetPixel >::ColorConverter const Surface sourceSurface,
Surface targetSurface
[inline]
 

Definition at line 200 of file blitter.h.


Member Function Documentation

template<int BytesPerSourcePixel, int BytesPerTargetPixel>
TargetPixelType ColorConverter< BytesPerSourcePixel, BytesPerTargetPixel >::convert SourcePixelType  sp  )  [inline]
 

Definition at line 203 of file blitter.h.


The documentation for this class was generated from the following file:
Generated on Tue Jun 24 02:16:42 2008 for Advanced Strategic Command by  doxygen 1.4.2