mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-16 00:05:45 -04:00
reverting 3fb0f66 (followup #45348) Using --no-public-is-protected (default on Windows) also works on Linux and fixes #45331 too
54 lines
1.8 KiB
Plaintext
54 lines
1.8 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/raster/qgsrasterdrawer.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
class QgsRasterDrawer
|
|
{
|
|
%Docstring(signature="appended")
|
|
The drawing pipe for raster layers.
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsrasterdrawer.h"
|
|
%End
|
|
public:
|
|
|
|
QgsRasterDrawer( QgsRasterIterator *iterator, double dpiTarget = -1.0 );
|
|
%Docstring
|
|
The QgsRasterDrawer constructor.
|
|
|
|
:param iterator: the raster iterator to fetch data from
|
|
:param dpiTarget: the target ``dpi`` (dots per inch) to be taken into consideration when rendering
|
|
%End
|
|
|
|
void draw( QPainter *p, QgsRasterViewPort *viewPort, const QgsMapToPixel *qgsMapToPixel, QgsRasterBlockFeedback *feedback = 0 );
|
|
%Docstring
|
|
Draws raster data.
|
|
|
|
:param p: destination QPainter
|
|
:param viewPort: viewport to render
|
|
:param qgsMapToPixel: map to pixel converter
|
|
:param feedback: optional raster feedback object for cancellation/preview. Added in QGIS 3.0.
|
|
%End
|
|
|
|
protected:
|
|
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/raster/qgsrasterdrawer.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|