2017-06-01 15:39:31 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/raster/qgsrasterdrawer.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-06-22 19:37:41 +02:00
|
|
|
class QgsRasterDrawer
|
|
|
|
{
|
2017-06-01 15:39:31 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
The drawing pipe for raster layers.
|
2017-06-01 15:39:31 +02:00
|
|
|
%End
|
|
|
|
|
2013-06-22 19:37:41 +02:00
|
|
|
%TypeHeaderCode
|
2017-06-01 15:39:31 +02:00
|
|
|
#include "qgsrasterdrawer.h"
|
2013-06-22 19:37:41 +02:00
|
|
|
%End
|
|
|
|
public:
|
|
|
|
QgsRasterDrawer( QgsRasterIterator *iterator );
|
|
|
|
|
2017-05-02 07:21:20 +02:00
|
|
|
void draw( QPainter *p, QgsRasterViewPort *viewPort, const QgsMapToPixel *qgsMapToPixel, QgsRasterBlockFeedback *feedback = 0 );
|
2017-06-01 15:39:31 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Draws raster data.
|
2017-12-15 21:36:08 -04:00
|
|
|
|
2017-12-15 10:36:55 -04:00
|
|
|
:param p: destination QPainter
|
|
|
|
:param viewPort: viewport to render
|
|
|
|
:param qgsMapToPixel: map to pixel converter
|
2019-02-24 10:15:32 +01:00
|
|
|
:param feedback: optional raster feedback object for cancellation/preview. Added in QGIS 3.0.
|
2017-06-01 15:39:31 +02:00
|
|
|
%End
|
2013-06-22 19:37:41 +02:00
|
|
|
|
|
|
|
protected:
|
2017-06-01 15:39:31 +02:00
|
|
|
|
|
|
|
|
2013-06-22 19:37:41 +02:00
|
|
|
};
|
2017-06-01 15:39:31 +02:00
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/raster/qgsrasterdrawer.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|