QGIS/python/core/raster/qgsrasterdrawer.sip
Juergen E. Fischer a90be95f7b sip sync
2016-02-14 03:50:49 +01:00

26 lines
849 B
Plaintext

/** \ingroup core
* The drawing pipe for raster layers.
*/
class QgsRasterDrawer
{
%TypeHeaderCode
#include <qgsrasterdrawer.h>
%End
public:
QgsRasterDrawer( QgsRasterIterator *iterator );
void draw( QPainter* p, QgsRasterViewPort* viewPort, const QgsMapToPixel* theQgsMapToPixel );
protected:
/** Draws raster part
* @param p the painter to draw to
* @param viewPort view port to draw to
* @param img image to draw
* @param topLeftCol Left position relative to left border of viewport
* @param topLeftRow Top position relative to top border of viewport
* @param mapToPixel map to device coordinate transformation info
* @note not available in python bindings
*/
//void drawImage( QPainter* p, QgsRasterViewPort* viewPort, const QImage& img, int topLeftCol, int topLeftRow ) const;
};