From 6d1d1498f71c5b76775bbd488122bd92548a194c Mon Sep 17 00:00:00 2001 From: Denis Rouzaud Date: Fri, 8 Jun 2018 08:03:03 -0400 Subject: [PATCH] fix documentation in QgsRectangle --- python/core/auto_generated/geometry/qgsrectangle.sip.in | 6 +++--- src/core/geometry/qgsrectangle.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/python/core/auto_generated/geometry/qgsrectangle.sip.in b/python/core/auto_generated/geometry/qgsrectangle.sip.in index b526e5168097..8230a89aa157 100644 --- a/python/core/auto_generated/geometry/qgsrectangle.sip.in +++ b/python/core/auto_generated/geometry/qgsrectangle.sip.in @@ -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 diff --git a/src/core/geometry/qgsrectangle.h b/src/core/geometry/qgsrectangle.h index 2a5425f6899c..b665d41f8f09 100644 --- a/src/core/geometry/qgsrectangle.h +++ b/src/core/geometry/qgsrectangle.h @@ -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 );