QGIS API Documentation
2.6.0-Brighton
|
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. |
The drawing pipe for raster layers.
QgsRasterDrawer::QgsRasterDrawer | ( | QgsRasterIterator * | iterator | ) |
QgsRasterDrawer::~QgsRasterDrawer | ( | ) |
void QgsRasterDrawer::draw | ( | QPainter * | p, |
QgsRasterViewPort * | viewPort, | ||
const QgsMapToPixel * | theQgsMapToPixel | ||
) |
|
protected |
Draws raster part.
p | the painter to draw to |
viewPort | view port to draw to |
img | image to draw |
topLeftCol | Left position relative to left border of viewport |
topLeftRow | Top position relative to top border of viewport |