Advanced Strategic Command
Public Types | Public Member Functions | List of all members
ColorConverter< 4, 1 > Class Template Reference

#include <blitter.h>

Public Types

typedef PixelSize2Type
< 4 >::PixelType 
SourcePixelType
 
typedef PixelSize2Type
< 1 >::PixelType 
TargetPixelType
 

Public Member Functions

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

Detailed Description

template<>
class ColorConverter< 4, 1 >

Definition at line 212 of file blitter.h.

Member Typedef Documentation

typedef PixelSize2Type<4>::PixelType ColorConverter< 4, 1 >::SourcePixelType

Definition at line 216 of file blitter.h.

typedef PixelSize2Type<1>::PixelType ColorConverter< 4, 1 >::TargetPixelType

Definition at line 217 of file blitter.h.

Constructor & Destructor Documentation

ColorConverter< 4, 1 >::ColorConverter ( const Surface sourceSurface,
Surface targetSurface 
)
inline

Definition at line 225 of file blitter.h.

Member Function Documentation

TargetPixelType ColorConverter< 4, 1 >::convert ( SourcePixelType  sp)
inline

Definition at line 241 of file blitter.h.


The documentation for this class was generated from the following file: