mirror of
https://github.com/qgis/QGIS.git
synced 2025-06-18 00:04:02 -04:00
Update docs
This commit is contained in:
parent
6b42ccb737
commit
05ff817a97
@ -261,6 +261,20 @@ class QgsPalLayerSettings
|
||||
AlwaysShow
|
||||
};
|
||||
|
||||
|
||||
bool prepare( const QgsRenderContext &context, QSet<QString> &attributeNames /In,Out/, const QgsFields &fields, const QgsMapSettings &mapSettings, const QgsCoordinateReferenceSystem &crs );
|
||||
%Docstring
|
||||
Prepare for registration of features.
|
||||
The ``context``, ``mapSettings`` and ``fields`` parameters give more
|
||||
information about the rendering environment.
|
||||
If target ``crs`` is not specified, the targetCrs from ``mapSettings``
|
||||
will be taken.
|
||||
The parameter ``attributeNames`` should be updated to contain all the field
|
||||
names which the labeling requires for the rendering.
|
||||
|
||||
.. versionadded:: 3.8
|
||||
%End
|
||||
|
||||
static const QgsPropertiesDefinition &propertyDefinitions();
|
||||
%Docstring
|
||||
Returns the labeling property definitions.
|
||||
|
@ -370,6 +370,20 @@ class CORE_EXPORT QgsPalLayerSettings
|
||||
AlwaysShow = 20
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Prepare for registration of features.
|
||||
* The \a context, \a mapSettings and \a fields parameters give more
|
||||
* information about the rendering environment.
|
||||
* If target \a crs is not specified, the targetCrs from \a mapSettings
|
||||
* will be taken.
|
||||
* The parameter \a attributeNames should be updated to contain all the field
|
||||
* names which the labeling requires for the rendering.
|
||||
*
|
||||
* \since QGIS 3.8
|
||||
*/
|
||||
bool prepare( const QgsRenderContext &context, QSet<QString> &attributeNames SIP_INOUT, const QgsFields &fields, const QgsMapSettings &mapSettings, const QgsCoordinateReferenceSystem &crs );
|
||||
|
||||
/**
|
||||
* Returns the labeling property definitions.
|
||||
* \since QGIS 3.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user