2017-04-21 12:06:24 +07:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/qgsmapdecoration.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class QgsMapDecoration
|
|
|
|
{
|
|
|
|
%Docstring
|
2018-05-26 14:10:30 +10:00
|
|
|
Interface for map decorations.
|
2017-04-21 12:06:24 +07:00
|
|
|
|
|
|
|
.. versionadded:: 3.0
|
|
|
|
%End
|
|
|
|
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgsmapdecoration.h"
|
|
|
|
%End
|
|
|
|
public:
|
|
|
|
|
|
|
|
QgsMapDecoration();
|
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Constructor for QgsMapDecoration.
|
2017-04-21 12:06:24 +07:00
|
|
|
%End
|
|
|
|
|
|
|
|
virtual ~QgsMapDecoration();
|
|
|
|
|
|
|
|
virtual void render( const QgsMapSettings &mapSettings, QgsRenderContext &context ) = 0;
|
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Renders a map decoration.
|
2017-04-21 12:06:24 +07:00
|
|
|
%End
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/core/qgsmapdecoration.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|