mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
25 lines
627 B
Plaintext
25 lines
627 B
Plaintext
|
|
class QgsMapLayerRenderer
|
|
{
|
|
%TypeHeaderCode
|
|
#include <qgsmaplayerrenderer.h>
|
|
%End
|
|
|
|
public:
|
|
QgsMapLayerRenderer( const QString &layerID );
|
|
virtual ~QgsMapLayerRenderer();
|
|
|
|
//! Do the rendering (based on data stored in the class)
|
|
virtual bool render() = 0;
|
|
|
|
//! Access to feedback object of the layer renderer (may be null)
|
|
//! @note added in QGIS 3.0
|
|
virtual QgsFeedback *feedback() const;
|
|
|
|
//! Return list of errors (problems) that happened during the rendering
|
|
QStringList errors() const;
|
|
|
|
//! Get access to the ID of the layer rendered by this class
|
|
QString layerId() const;
|
|
};
|