Advanced Strategic Command
Public Member Functions | Protected Member Functions | List of all members
SourcePixelSelector_CacheRotation< pixelsize > Class Template Reference

#include <blitter.h>

Inheritance diagram for SourcePixelSelector_CacheRotation< pixelsize >:
Inheritance graph
[legend]

Public Member Functions

void setAngle (const Surface &srv, int degrees)
 
 SourcePixelSelector_CacheRotation (NullParamType npt=nullParam)
 
 SourcePixelSelector_CacheRotation (const Surface &srv, int degrees)
 
 SourcePixelSelector_CacheRotation (pair< const Surface *, int > p)
 

Protected Member Functions

void init (const Surface &srv)
 
PixelType nextPixel ()
 
void skipPixels (int pixNum)
 
int getSourcePixelSkip ()
 
void nextLine ()
 
int getWidth ()
 
int getHeight ()
 

Additional Inherited Members

- Static Protected Attributes inherited from RotationCache
static map< int, int * > cache
 
static int xsize = -1
 
static int ysize = -1
 

Detailed Description

template<int pixelsize>
class SourcePixelSelector_CacheRotation< pixelsize >

Definition at line 1125 of file blitter.h.

Constructor & Destructor Documentation

template<int pixelsize>
SourcePixelSelector_CacheRotation< pixelsize >::SourcePixelSelector_CacheRotation ( NullParamType  npt = nullParam)
inline

Definition at line 1242 of file blitter.h.

template<int pixelsize>
SourcePixelSelector_CacheRotation< pixelsize >::SourcePixelSelector_CacheRotation ( const Surface srv,
int  degrees 
)
inline
template<int pixelsize>
SourcePixelSelector_CacheRotation< pixelsize >::SourcePixelSelector_CacheRotation ( pair< const Surface *, int >  p)
inline

Member Function Documentation

template<int pixelsize>
int SourcePixelSelector_CacheRotation< pixelsize >::getHeight ( )
inlineprotected

Definition at line 1198 of file blitter.h.

template<int pixelsize>
int SourcePixelSelector_CacheRotation< pixelsize >::getSourcePixelSkip ( )
inlineprotected

Definition at line 1182 of file blitter.h.

template<int pixelsize>
int SourcePixelSelector_CacheRotation< pixelsize >::getWidth ( )
inlineprotected

Definition at line 1194 of file blitter.h.

template<int pixelsize>
void SourcePixelSelector_CacheRotation< pixelsize >::init ( const Surface srv)
inlineprotected
template<int pixelsize>
void SourcePixelSelector_CacheRotation< pixelsize >::nextLine ( )
inlineprotected

Definition at line 1187 of file blitter.h.

template<int pixelsize>
PixelType SourcePixelSelector_CacheRotation< pixelsize >::nextPixel ( )
inlineprotected

Definition at line 1153 of file blitter.h.

References getPixelRotationLocation().

template<int pixelsize>
void SourcePixelSelector_CacheRotation< pixelsize >::setAngle ( const Surface srv,
int  degrees 
)
inline
template<int pixelsize>
void SourcePixelSelector_CacheRotation< pixelsize >::skipPixels ( int  pixNum)
inlineprotected

Definition at line 1175 of file blitter.h.


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