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

#include <blitter.h>

Inheritance diagram for SourcePixelSelector_Zoom< pixelsize, SourcePixelSelector >:
Inheritance graph
[legend]

Public Member Functions

void setZoom (float factor)
 
void setZoom (float factorX, float factorY)
 
float getZoomX ()
 
float getZoomY ()
 
void setSize (int sourceWidth, int sourceHeight, int targetWidth, int targetHeight, bool forceSquare=true)
 
 SourcePixelSelector_Zoom (NullParamType npt=nullParam)
 

Protected Member Functions

int getWidth ()
 
int getHeight ()
 
PixelType getPixel (int x, int y)
 
PixelType nextPixel ()
 
void skipPixels (int pixNum)
 
int getSourcePixelSkip ()
 
void nextLine ()
 

Detailed Description

template<int pixelsize, class SourcePixelSelector = SourcePixelSelector_Plain<pixelsize>>
class SourcePixelSelector_Zoom< pixelsize, SourcePixelSelector >

Definition at line 1261 of file blitter.h.

Constructor & Destructor Documentation

template<int pixelsize, class SourcePixelSelector = SourcePixelSelector_Plain<pixelsize>>
SourcePixelSelector_Zoom< pixelsize, SourcePixelSelector >::SourcePixelSelector_Zoom ( NullParamType  npt = nullParam)
inline

Definition at line 1335 of file blitter.h.

Member Function Documentation

template<int pixelsize, class SourcePixelSelector = SourcePixelSelector_Plain<pixelsize>>
int SourcePixelSelector_Zoom< pixelsize, SourcePixelSelector >::getHeight ( )
inlineprotected

Definition at line 1273 of file blitter.h.

template<int pixelsize, class SourcePixelSelector = SourcePixelSelector_Plain<pixelsize>>
PixelType SourcePixelSelector_Zoom< pixelsize, SourcePixelSelector >::getPixel ( int  x,
int  y 
)
inlineprotected

Definition at line 1278 of file blitter.h.

Referenced by SourcePixelSelector_Zoom< pixelsize >::nextPixel().

template<int pixelsize, class SourcePixelSelector = SourcePixelSelector_Plain<pixelsize>>
int SourcePixelSelector_Zoom< pixelsize, SourcePixelSelector >::getSourcePixelSkip ( )
inlineprotected

Definition at line 1293 of file blitter.h.

template<int pixelsize, class SourcePixelSelector = SourcePixelSelector_Plain<pixelsize>>
int SourcePixelSelector_Zoom< pixelsize, SourcePixelSelector >::getWidth ( )
inlineprotected

Definition at line 1269 of file blitter.h.

template<int pixelsize, class SourcePixelSelector = SourcePixelSelector_Plain<pixelsize>>
float SourcePixelSelector_Zoom< pixelsize, SourcePixelSelector >::getZoomX ( )
inline

Definition at line 1316 of file blitter.h.

template<int pixelsize, class SourcePixelSelector = SourcePixelSelector_Plain<pixelsize>>
float SourcePixelSelector_Zoom< pixelsize, SourcePixelSelector >::getZoomY ( )
inline

Definition at line 1320 of file blitter.h.

template<int pixelsize, class SourcePixelSelector = SourcePixelSelector_Plain<pixelsize>>
void SourcePixelSelector_Zoom< pixelsize, SourcePixelSelector >::nextLine ( )
inlineprotected

Definition at line 1298 of file blitter.h.

template<int pixelsize, class SourcePixelSelector = SourcePixelSelector_Plain<pixelsize>>
PixelType SourcePixelSelector_Zoom< pixelsize, SourcePixelSelector >::nextPixel ( )
inlineprotected

Definition at line 1283 of file blitter.h.

template<int pixelsize, class SourcePixelSelector = SourcePixelSelector_Plain<pixelsize>>
void SourcePixelSelector_Zoom< pixelsize, SourcePixelSelector >::setSize ( int  sourceWidth,
int  sourceHeight,
int  targetWidth,
int  targetHeight,
bool  forceSquare = true 
)
inline

Definition at line 1325 of file blitter.h.

template<int pixelsize, class SourcePixelSelector = SourcePixelSelector_Plain<pixelsize>>
void SourcePixelSelector_Zoom< pixelsize, SourcePixelSelector >::setZoom ( float  factor)
inline

Definition at line 1305 of file blitter.h.

Referenced by SourcePixelSelector_Zoom< pixelsize >::setSize().

template<int pixelsize, class SourcePixelSelector = SourcePixelSelector_Plain<pixelsize>>
void SourcePixelSelector_Zoom< pixelsize, SourcePixelSelector >::setZoom ( float  factorX,
float  factorY 
)
inline

Definition at line 1310 of file blitter.h.

template<int pixelsize, class SourcePixelSelector = SourcePixelSelector_Plain<pixelsize>>
void SourcePixelSelector_Zoom< pixelsize, SourcePixelSelector >::skipPixels ( int  pixNum)
inlineprotected

Definition at line 1288 of file blitter.h.


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