Skip to content
Permalink
Browse files

fix documentation in QgsRectangle

  • Loading branch information
3nids committed Jun 8, 2018
1 parent 932bcfd commit 6d1d1498f71c5b76775bbd488122bd92548a194c
Showing with 6 additions and 6 deletions.
  1. +3 −3 python/core/auto_generated/geometry/qgsrectangle.sip.in
  2. +3 −3 src/core/geometry/qgsrectangle.h
@@ -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
@@ -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 );

0 comments on commit 6d1d149

Please sign in to comment.
You can’t perform that action at this time.