QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
Public Member Functions | List of all members
QgsWms::QgsMapRendererJobProxy Class Reference

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...

Detailed Description

Proxy for sequential or parallel map render job.

QGIS 3.0

Definition at line 35 of file qgsmaprendererjobproxy.h.

Constructor & Destructor Documentation

◆ QgsMapRendererJobProxy()

QgsWms::QgsMapRendererJobProxy::QgsMapRendererJobProxy ( bool  parallelRendering,
int  maxThreads,
QgsFeatureFilterProvider featureFilterProvider 

Constructor for QgsMapRendererJobProxy.

Does not take ownership of featureFilterProvider.

parallelRenderingtrue to activate parallel rendering, false otherwise
maxThreadsThe number of threads to use in case of parallel rendering
featureFilterProviderFeatures filtering

Definition at line 28 of file qgsmaprendererjobproxy.cpp.

Member Function Documentation

◆ errors()

QgsMapRendererJob::Errors QgsWms::QgsMapRendererJobProxy::errors ( ) const

Returns map rendering errors.

error list

Definition at line 69 of file qgsmaprendererjobproxy.h.

◆ render()

void QgsWms::QgsMapRendererJobProxy::render ( const QgsMapSettings mapSettings,
QImage *  image 

Sequential or parallel map rendering.

mapSettingsPassed to MapRendererJob
imageThe resulting image

Definition at line 51 of file qgsmaprendererjobproxy.cpp.

◆ takePainter()

QPainter * QgsWms::QgsMapRendererJobProxy::takePainter ( )

Takes ownership of the painter used for rendering.


Definition at line 88 of file qgsmaprendererjobproxy.cpp.

The documentation for this class was generated from the following files: