SourcePixelSelector_Rectangle< pixelsize > Class Template Reference

#include <blitter.h>

Inheritance diagram for SourcePixelSelector_Rectangle< pixelsize >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 SourcePixelSelector_Rectangle (const SDLmm::SRect &rect)
void setSrcRectangle (SPoint pos, int width, int height)
void setSrcRectangle (const SDLmm::SRect &rect)

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 ()

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 (  )  [inline, protected]

Definition at line 1573 of file blitter.h.

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

Definition at line 1578 of file blitter.h.

References SourcePixelSelector_Rectangle< pixelsize >::setSrcRectangle().


Member Function Documentation

template<int pixelsize>
int SourcePixelSelector_Rectangle< pixelsize >::getWidth (  )  [inline, protected]

Reimplemented from SourcePixelSelector_Plain< pixelsize >.

Definition at line 1584 of file blitter.h.

References min().

template<int pixelsize>
int SourcePixelSelector_Rectangle< pixelsize >::getHeight (  )  [inline, protected]

Reimplemented from SourcePixelSelector_Plain< pixelsize >.

Definition at line 1588 of file blitter.h.

References min().

template<int pixelsize>
PixelType SourcePixelSelector_Rectangle< pixelsize >::getPixel ( int  x,
int  y 
) [inline, protected]

Reimplemented from SourcePixelSelector_Plain< pixelsize >.

Definition at line 1594 of file blitter.h.

References SourcePixelSelector_Plain< pixelsize >::getPixel().

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

template<int pixelsize>
PixelType SourcePixelSelector_Rectangle< pixelsize >::nextPixel (  )  [inline, protected]

Reimplemented from SourcePixelSelector_Plain< pixelsize >.

Definition at line 1599 of file blitter.h.

References SourcePixelSelector_Rectangle< pixelsize >::getPixel().

template<int pixelsize>
void SourcePixelSelector_Rectangle< pixelsize >::skipWholeLine (  )  [inline, protected]

Reimplemented from SourcePixelSelector_Plain< pixelsize >.

Definition at line 1604 of file blitter.h.

template<int pixelsize>
void SourcePixelSelector_Rectangle< pixelsize >::skipPixels ( int  pixNum  )  [inline, protected]

Reimplemented from SourcePixelSelector_Plain< pixelsize >.

Definition at line 1609 of file blitter.h.

template<int pixelsize>
int SourcePixelSelector_Rectangle< pixelsize >::getSourcePixelSkip (  )  [inline, protected]

Reimplemented from SourcePixelSelector_Plain< pixelsize >.

Definition at line 1614 of file blitter.h.

template<int pixelsize>
void SourcePixelSelector_Rectangle< pixelsize >::nextLine (  )  [inline, protected]

Reimplemented from SourcePixelSelector_Plain< pixelsize >.

Definition at line 1619 of file blitter.h.

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

Definition at line 1626 of file blitter.h.

Referenced by SourcePixelSelector_Rectangle< pixelsize >::SourcePixelSelector_Rectangle().

template<int pixelsize>
void SourcePixelSelector_Rectangle< pixelsize >::setSrcRectangle ( const SDLmm::SRect &  rect  )  [inline]

Definition at line 1633 of file blitter.h.


The documentation for this class was generated from the following file:
Generated on Mon May 21 01:47:33 2012 for Advanced Strategic Command by  doxygen 1.5.1