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

#include <blitter.h>

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 192 of file blitter.h.

Member Typedef Documentation

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

Definition at line 195 of file blitter.h.

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

Definition at line 196 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 201 of file blitter.h.

Member Function Documentation

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

Definition at line 204 of file blitter.h.


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