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

#include <blitter.h>

Public Types

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

Public Member Functions

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

Detailed Description

class ColorConverter< 1, 4 >

Definition at line 255 of file blitter.h.

Member Typedef Documentation

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

Definition at line 258 of file blitter.h.

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

Definition at line 259 of file blitter.h.

Constructor & Destructor Documentation

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

Definition at line 267 of file blitter.h.

References getFirstBit().

Member Function Documentation

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

Definition at line 288 of file blitter.h.

References Surface::opaque, and Surface::transparent.

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