Skip to content

Commit

Permalink
fix documentation in QgsRectangle
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed Jun 8, 2018
1 parent 932bcfd commit 6d1d149
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions python/core/auto_generated/geometry/qgsrectangle.sip.in
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions src/core/geometry/qgsrectangle.h
Expand Up @@ -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.

This comment has been minimized.

Copy link
@nyalldawson

nyalldawson Jun 9, 2018

Collaborator

Its -> it

*/
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 );
Expand Down

0 comments on commit 6d1d149

Please sign in to comment.