Advanced Strategic Command
Public Member Functions | Protected Member Functions | List of all members
SourcePixelSelector_DirectSubRectangle< pixelsize > Class Template Reference
Inheritance diagram for SourcePixelSelector_DirectSubRectangle< pixelsize >:
Inheritance graph
[legend]

Public Member Functions

void setSrcRectangle (SPoint pos, int width, int height)
 
void setInnerSrcRectangle (const PG_Rect &rect)
 

Protected Member Functions

 SourcePixelSelector_DirectSubRectangle ()
 
int getWidth ()
 
int getHeight ()
 
void init (const Surface &srv)
 
PixelType getPixel (int x, int y)
 
PixelType nextPixel ()
 
void skipWholeLine ()
 
void skipPixels (int pixNum)
 
int getSourcePixelSkip ()
 
void nextLine ()
 

Detailed Description

template<int pixelsize>
class SourcePixelSelector_DirectSubRectangle< pixelsize >

Definition at line 1177 of file mapdisplay.cpp.

Constructor & Destructor Documentation

template<int pixelsize>
SourcePixelSelector_DirectSubRectangle< pixelsize >::SourcePixelSelector_DirectSubRectangle ( )
inlineprotected

Definition at line 1191 of file mapdisplay.cpp.

Member Function Documentation

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

Definition at line 1199 of file mapdisplay.cpp.

template<int pixelsize>
PixelType SourcePixelSelector_DirectSubRectangle< pixelsize >::getPixel ( int  x,
int  y 
)
inlineprotected

Definition at line 1217 of file mapdisplay.cpp.

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

Definition at line 1247 of file mapdisplay.cpp.

template<int pixelsize>
int SourcePixelSelector_DirectSubRectangle< pixelsize >::getWidth ( )
inlineprotected
template<int pixelsize>
void SourcePixelSelector_DirectSubRectangle< pixelsize >::init ( const Surface srv)
inlineprotected

Definition at line 1205 of file mapdisplay.cpp.

template<int pixelsize>
void SourcePixelSelector_DirectSubRectangle< pixelsize >::nextLine ( )
inlineprotected

Definition at line 1265 of file mapdisplay.cpp.

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

Definition at line 1228 of file mapdisplay.cpp.

template<int pixelsize>
void SourcePixelSelector_DirectSubRectangle< pixelsize >::setInnerSrcRectangle ( const PG_Rect &  rect)
inline

Definition at line 1279 of file mapdisplay.cpp.

template<int pixelsize>
void SourcePixelSelector_DirectSubRectangle< pixelsize >::setSrcRectangle ( SPoint  pos,
int  width,
int  height 
)
inline

Definition at line 1272 of file mapdisplay.cpp.

template<int pixelsize>
void SourcePixelSelector_DirectSubRectangle< pixelsize >::skipPixels ( int  pixNum)
inlineprotected

Definition at line 1241 of file mapdisplay.cpp.

template<int pixelsize>
void SourcePixelSelector_DirectSubRectangle< pixelsize >::skipWholeLine ( )
inlineprotected

Definition at line 1235 of file mapdisplay.cpp.


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