QGIS API Documentation  2.5.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Protected Member Functions | List of all members
QgsRasterDrawer Class Reference

The drawing pipe for raster layers. More...

#include <qgsrasterdrawer.h>

Public Member Functions

 QgsRasterDrawer (QgsRasterIterator *iterator)
 
 ~QgsRasterDrawer ()
 
void draw (QPainter *p, QgsRasterViewPort *viewPort, const QgsMapToPixel *theQgsMapToPixel)
 

Protected Member Functions

void drawImage (QPainter *p, QgsRasterViewPort *viewPort, const QImage &img, int topLeftCol, int topLeftRow) const
 Draws raster part. More...
 

Detailed Description

The drawing pipe for raster layers.

Constructor & Destructor Documentation

QgsRasterDrawer::QgsRasterDrawer ( QgsRasterIterator iterator)
QgsRasterDrawer::~QgsRasterDrawer ( )

Member Function Documentation

void QgsRasterDrawer::draw ( QPainter *  p,
QgsRasterViewPort viewPort,
const QgsMapToPixel theQgsMapToPixel 
)
void QgsRasterDrawer::drawImage ( QPainter *  p,
QgsRasterViewPort viewPort,
const QImage &  img,
int  topLeftCol,
int  topLeftRow 
) const
protected

Draws raster part.

Parameters
pthe painter to draw to
viewPortview port to draw to
imgimage to draw
topLeftColLeft position relative to left border of viewport
topLeftRowTop position relative to top border of viewport

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