mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-08 00:05:09 -04:00
Add doc
This commit is contained in:
parent
7b0b4afb9f
commit
c21a1ca9ca
@ -51,6 +51,15 @@ Encodes a distance unit to a DOM element.
|
||||
%End
|
||||
|
||||
static QDomElement writeRectangle( const QgsRectangle &rect, QDomDocument &doc, const QString &elementName = QStringLiteral( "extent" ) );
|
||||
%Docstring
|
||||
Encodes a rectangle to a DOM element.
|
||||
|
||||
:param rect: rectangle to encode
|
||||
:param doc: DOM document
|
||||
:param elementName: name of the DOM element
|
||||
|
||||
:return: element containing encoded rectangle
|
||||
%End
|
||||
|
||||
static QDomElement writeVariant( const QVariant &value, QDomDocument &doc );
|
||||
%Docstring
|
||||
|
@ -59,6 +59,13 @@ class CORE_EXPORT QgsXmlUtils
|
||||
*/
|
||||
static QDomElement writeMapUnits( QgsUnitTypes::DistanceUnit units, QDomDocument &doc );
|
||||
|
||||
/**
|
||||
* Encodes a rectangle to a DOM element.
|
||||
* \param rect rectangle to encode
|
||||
* \param doc DOM document
|
||||
* \param elementName name of the DOM element
|
||||
* \returns element containing encoded rectangle
|
||||
*/
|
||||
static QDomElement writeRectangle( const QgsRectangle &rect, QDomDocument &doc, const QString &elementName = QStringLiteral( "extent" ) );
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user