QGIS API Documentation 3.41.0-Master (cea29feecf2)
|
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. | |
QgsMapRendererJob::Errors | errors () const |
Returns map rendering errors. | |
void | render (const QgsMapSettings &mapSettings, QImage *image, const QgsFeedback *feedback) |
Sequential or parallel map rendering. | |
QPainter * | takePainter () |
Takes ownership of the painter used for rendering. | |
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 29 of file qgsmaprendererjobproxy.cpp.
|
inline |
Returns map rendering errors.
Definition at line 66 of file qgsmaprendererjobproxy.h.
void QgsWms::QgsMapRendererJobProxy::render | ( | const QgsMapSettings & | mapSettings, |
QImage * | image, | ||
const QgsFeedback * | feedback | ||
) |
Sequential or parallel map rendering.
mapSettings | Passed to MapRendererJob |
image | The resulting image |
feedback | socket feedback (since QGIS 3.36) |
Definition at line 49 of file qgsmaprendererjobproxy.cpp.
QPainter * QgsWms::QgsMapRendererJobProxy::takePainter | ( | ) |
Takes ownership of the painter used for rendering.
Definition at line 101 of file qgsmaprendererjobproxy.cpp.