Advanced Strategic Command
Public Member Functions | List of all members
MegaBlitter< BytesPerSourcePixel, BytesPerTargetPixel, SourceColorTransform, ColorMerger, SourcePixelSelector, TargetPixelSelector, MyColorConverter > Class Template Reference

#include <blitter.h>

Inheritance diagram for MegaBlitter< BytesPerSourcePixel, BytesPerTargetPixel, SourceColorTransform, ColorMerger, SourcePixelSelector, TargetPixelSelector, MyColorConverter >:
Inheritance graph
[legend]

Public Member Functions

 MegaBlitter ()
 
 MegaBlitter (const SourceColorTransform< BytesPerSourcePixel > &scm, const ColorMerger< BytesPerTargetPixel > &cm, const SourcePixelSelector< BytesPerSourcePixel > &sps, const TargetPixelSelector &tps)
 
int getWidth ()
 
int getHeight ()
 
void initSource (const Surface &src)
 
void blit (const Surface &src, Surface &dst, SPoint dstPos)
 

Detailed Description

template<int BytesPerSourcePixel, int BytesPerTargetPixel, template< int > class SourceColorTransform, template< int > class ColorMerger, template< int > class SourcePixelSelector = SourcePixelSelector_Plain, class TargetPixelSelector = TargetPixelSelector_All, template< int, int > class MyColorConverter = ColorConverter>
class MegaBlitter< BytesPerSourcePixel, BytesPerTargetPixel, SourceColorTransform, ColorMerger, SourcePixelSelector, TargetPixelSelector, MyColorConverter >

Definition at line 315 of file blitter.h.

Constructor & Destructor Documentation

template<int BytesPerSourcePixel, int BytesPerTargetPixel, template< int > class SourceColorTransform, template< int > class ColorMerger, template< int > class SourcePixelSelector = SourcePixelSelector_Plain, class TargetPixelSelector = TargetPixelSelector_All, template< int, int > class MyColorConverter = ColorConverter>
MegaBlitter< BytesPerSourcePixel, BytesPerTargetPixel, SourceColorTransform, ColorMerger, SourcePixelSelector, TargetPixelSelector, MyColorConverter >::MegaBlitter ( )
inline

Definition at line 323 of file blitter.h.

template<int BytesPerSourcePixel, int BytesPerTargetPixel, template< int > class SourceColorTransform, template< int > class ColorMerger, template< int > class SourcePixelSelector = SourcePixelSelector_Plain, class TargetPixelSelector = TargetPixelSelector_All, template< int, int > class MyColorConverter = ColorConverter>
MegaBlitter< BytesPerSourcePixel, BytesPerTargetPixel, SourceColorTransform, ColorMerger, SourcePixelSelector, TargetPixelSelector, MyColorConverter >::MegaBlitter ( const SourceColorTransform< BytesPerSourcePixel > &  scm,
const ColorMerger< BytesPerTargetPixel > &  cm,
const SourcePixelSelector< BytesPerSourcePixel > &  sps,
const TargetPixelSelector &  tps 
)
inline

Definition at line 326 of file blitter.h.

Member Function Documentation

template<int BytesPerSourcePixel, int BytesPerTargetPixel, template< int > class SourceColorTransform, template< int > class ColorMerger, template< int > class SourcePixelSelector = SourcePixelSelector_Plain, class TargetPixelSelector = TargetPixelSelector_All, template< int, int > class MyColorConverter = ColorConverter>
void MegaBlitter< BytesPerSourcePixel, BytesPerTargetPixel, SourceColorTransform, ColorMerger, SourcePixelSelector, TargetPixelSelector, MyColorConverter >::blit ( const Surface src,
Surface dst,
SPoint  dstPos 
)
inline
template<int BytesPerSourcePixel, int BytesPerTargetPixel, template< int > class SourceColorTransform, template< int > class ColorMerger, template< int > class SourcePixelSelector = SourcePixelSelector_Plain, class TargetPixelSelector = TargetPixelSelector_All, template< int, int > class MyColorConverter = ColorConverter>
int MegaBlitter< BytesPerSourcePixel, BytesPerTargetPixel, SourceColorTransform, ColorMerger, SourcePixelSelector, TargetPixelSelector, MyColorConverter >::getHeight ( )
inline

Definition at line 338 of file blitter.h.

template<int BytesPerSourcePixel, int BytesPerTargetPixel, template< int > class SourceColorTransform, template< int > class ColorMerger, template< int > class SourcePixelSelector = SourcePixelSelector_Plain, class TargetPixelSelector = TargetPixelSelector_All, template< int, int > class MyColorConverter = ColorConverter>
int MegaBlitter< BytesPerSourcePixel, BytesPerTargetPixel, SourceColorTransform, ColorMerger, SourcePixelSelector, TargetPixelSelector, MyColorConverter >::getWidth ( )
inline

Definition at line 334 of file blitter.h.

template<int BytesPerSourcePixel, int BytesPerTargetPixel, template< int > class SourceColorTransform, template< int > class ColorMerger, template< int > class SourcePixelSelector = SourcePixelSelector_Plain, class TargetPixelSelector = TargetPixelSelector_All, template< int, int > class MyColorConverter = ColorConverter>
void MegaBlitter< BytesPerSourcePixel, BytesPerTargetPixel, SourceColorTransform, ColorMerger, SourcePixelSelector, TargetPixelSelector, MyColorConverter >::initSource ( const Surface src)
inline

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