QGIS API Documentation
3.4.15-Madeira (e83d02e274)
|
Proxy for sequential or parallel map render job. More...
#include <qgsmaprendererjobproxy.h>
Public Member Functions | |
QgsMapRendererJobProxy (bool parallelRendering, int maxThreads, QgsFeatureFilterProvider *featureFilterProvider) | |
Constructor for QgsMapRendererJobProxy. More... | |
void | render (const QgsMapSettings &mapSettings, QImage *image) |
Sequential or parallel map rendering. More... | |
QPainter * | takePainter () |
Takes ownership of the painter used for rendering. More... | |
Proxy for sequential or parallel map render job.
Definition at line 34 of file qgsmaprendererjobproxy.h.
QgsWms::QgsMapRendererJobProxy::QgsMapRendererJobProxy | ( | bool | parallelRendering, |
int | maxThreads, | ||
QgsFeatureFilterProvider * | featureFilterProvider | ||
) |
Constructor for QgsMapRendererJobProxy.
Does not take ownership of featureFilterProvider.
parallelRendering | True to activate parallel rendering, false otherwise |
maxThreads | The number of threads to use in case of parallel rendering |
featureFilterProvider | Features filtering |
Definition at line 27 of file qgsmaprendererjobproxy.cpp.
void QgsWms::QgsMapRendererJobProxy::render | ( | const QgsMapSettings & | mapSettings, |
QImage * | image | ||
) |
Sequential or parallel map rendering.
mapSettings | Passed to MapRendererJob |
image | The resulting image |
Definition at line 50 of file qgsmaprendererjobproxy.cpp.
QPainter * QgsWms::QgsMapRendererJobProxy::takePainter | ( | ) |
Takes ownership of the painter used for rendering.
Definition at line 81 of file qgsmaprendererjobproxy.cpp.