mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
21 lines
481 B
Plaintext
21 lines
481 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;
|
|
|
|
//! 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;
|
|
};
|