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)


Detailed Description

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

Definition at line 191 of file blitter.h.


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 Mon May 21 01:46:30 2012 for Advanced Strategic Command by  doxygen 1.5.1