Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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

template<int pixelsize>
class SourcePixelSelector_Rectangle< pixelsize >


Constructor & Destructor Documentation

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

Definition at line 1569 of file blitter.h.

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

Definition at line 1574 of file blitter.h.

References SourcePixelSelector_Rectangle< pixelsize >::setSrcRectangle().


Member Function Documentation

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

Reimplemented from SourcePixelSelector_Plain< pixelsize >.

Definition at line 1584 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 1590 of file blitter.h.

References SourcePixelSelector_Plain< pixelsize >::getPixel().

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

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

Reimplemented from SourcePixelSelector_Plain< pixelsize >.

Definition at line 1610 of file blitter.h.

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

Reimplemented from SourcePixelSelector_Plain< pixelsize >.

Definition at line 1580 of file blitter.h.

References min().

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

Reimplemented from SourcePixelSelector_Plain< pixelsize >.

Definition at line 1615 of file blitter.h.

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

Reimplemented from SourcePixelSelector_Plain< pixelsize >.

Definition at line 1595 of file blitter.h.

References SourcePixelSelector_Rectangle< pixelsize >::getPixel().

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

Definition at line 1629 of file blitter.h.

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

Definition at line 1622 of file blitter.h.

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

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

Reimplemented from SourcePixelSelector_Plain< pixelsize >.

Definition at line 1605 of file blitter.h.

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

Reimplemented from SourcePixelSelector_Plain< pixelsize >.

Definition at line 1600 of file blitter.h.


The documentation for this class was generated from the following file:
Generated on Tue Jun 24 02:20:59 2008 for Advanced Strategic Command by  doxygen 1.4.2