fix documentation in QgsRectangle

This commit is contained in:
Denis Rouzaud 2018-06-08 08:03:03 -04:00
parent 932bcfd921
commit 6d1d1498f7
2 changed files with 6 additions and 6 deletions

View File

@ -229,17 +229,17 @@ Returns true when rectangle contains a point.
void combineExtentWith( const QgsRectangle &rect );
%Docstring
Expand the rectangle so that covers both the original rectangle and the given rectangle.
Expands the rectangle so that its covers both the original rectangle and the given rectangle.
%End
void combineExtentWith( double x, double y );
%Docstring
Expand the rectangle so that covers both the original rectangle and the given point.
Expands the rectangle so that its covers both the original rectangle and the given point.
%End
void combineExtentWith( const QgsPointXY &point );
%Docstring
Expand the rectangle so that covers both the original rectangle and the given point.
Expands the rectangle so that its covers both the original rectangle and the given point.
.. versionadded:: 3.2
%End

View File

@ -219,17 +219,17 @@ class CORE_EXPORT QgsRectangle
bool contains( const QgsPointXY &p ) const;
/**
* Expand the rectangle so that covers both the original rectangle and the given rectangle.
* Expands the rectangle so that its covers both the original rectangle and the given rectangle.
*/
void combineExtentWith( const QgsRectangle &rect );
/**
* Expand the rectangle so that covers both the original rectangle and the given point.
* Expands the rectangle so that its covers both the original rectangle and the given point.
*/
void combineExtentWith( double x, double y );
/**
* Expand the rectangle so that covers both the original rectangle and the given point.
* Expands the rectangle so that its covers both the original rectangle and the given point.
* \since QGIS 3.2
*/
void combineExtentWith( const QgsPointXY &point );