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

#include <blitter.h>

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

Public Member Functions

 SourcePixelSelector_Rectangle (const SDLmm::SRect &rect)
 
void setSrcRectangle (SPoint pos, int width, int height)
 
void setSrcRectangle (const SDLmm::SRect &rect)
 
- Public Member Functions inherited from SourcePixelSelector_Plain< pixelsize >
 SourcePixelSelector_Plain (NullParamType npt)
 

Protected Member Functions

 SourcePixelSelector_Rectangle ()
 
int getWidth ()
 
int getHeight ()
 
PixelType getPixel (int x, int y)
 
PixelType nextPixel ()
 
void skipWholeLine ()
 
void skipPixels (int pixNum)
 
int getSourcePixelSkip ()
 
void nextLine ()
 
- Protected Member Functions inherited from SourcePixelSelector_Plain< pixelsize >
 SourcePixelSelector_Plain ()
 
void init (const Surface &srv)
 
PixelType getPixel (int x, int y)
 
PixelType nextPixel ()
 
void nextLine ()
 
void skipPixels (int pixNum)
 
int getSourcePixelSkip ()
 
void skipWholeLine ()
 
int getWidth ()
 
int getHeight ()
 

Detailed Description

template<int pixelsize>
class SourcePixelSelector_Rectangle< pixelsize >

Definition at line 1567 of file blitter.h.

Constructor & Destructor Documentation

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

Definition at line 1573 of file blitter.h.

template<int pixelsize>
SourcePixelSelector_Rectangle< pixelsize >::SourcePixelSelector_Rectangle ( const SDLmm::SRect &  rect)
inline

Member Function Documentation

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

Definition at line 1588 of file blitter.h.

References min().

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

Definition at line 1614 of file blitter.h.

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

Definition at line 1584 of file blitter.h.

References min().

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

Definition at line 1619 of file blitter.h.

template<int pixelsize>
PixelType SourcePixelSelector_Rectangle< pixelsize >::nextPixel ( )
inlineprotected
template<int pixelsize>
void SourcePixelSelector_Rectangle< pixelsize >::setSrcRectangle ( SPoint  pos,
int  width,
int  height 
)
inline
template<int pixelsize>
void SourcePixelSelector_Rectangle< pixelsize >::setSrcRectangle ( const SDLmm::SRect &  rect)
inline

Definition at line 1633 of file blitter.h.

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

Definition at line 1609 of file blitter.h.

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

Definition at line 1604 of file blitter.h.


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