QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
|
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) |
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 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 88 of file qgsmaprendererjobproxy.cpp.