QGIS API Documentation
3.18.1-Zürich (202f1bf7e5)
|
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... | |
QgsMapRendererJob::Errors | errors () const |
Returns map rendering errors. 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 35 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 28 of file qgsmaprendererjobproxy.cpp.
|
inline |
Returns map rendering errors.
Definition at line 69 of file qgsmaprendererjobproxy.h.
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 51 of file qgsmaprendererjobproxy.cpp.
QPainter * QgsWms::QgsMapRendererJobProxy::takePainter | ( | ) |
Takes ownership of the painter used for rendering.
Definition at line 85 of file qgsmaprendererjobproxy.cpp.