Skip to content

Commit

Permalink
Added better version info to QgsRectangle::buffered
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Oct 3, 2017
1 parent 7874d4b commit 4f34f94
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion python/core/geometry/qgsrectangle.sip
Expand Up @@ -175,7 +175,10 @@ Copy constructor
QgsRectangle buffered( double width ) const;
%Docstring
Get rectangle enlarged by buffer.
.. versionadded:: 2.1
.. note::

In earlier QGIS releases this method was named buffer().
.. versionadded:: 3.0
.. seealso:: grow()
:rtype: QgsRectangle
%End
Expand Down
3 changes: 2 additions & 1 deletion src/core/geometry/qgsrectangle.h
Expand Up @@ -173,7 +173,8 @@ class CORE_EXPORT QgsRectangle

/**
* Get rectangle enlarged by buffer.
* \since QGIS 2.1
* \note In earlier QGIS releases this method was named buffer().
* \since QGIS 3.0
* \see grow()
*/
QgsRectangle buffered( double width ) const;
Expand Down

0 comments on commit 4f34f94

Please sign in to comment.