Skip to content
Permalink
Browse files

Added better version info to QgsRectangle::buffered

  • Loading branch information
nyalldawson committed Oct 3, 2017
1 parent 7874d4b commit 4f34f9442c18ce74268c75de21ac4ef1eb0b7695
Showing with 6 additions and 2 deletions.
  1. +4 −1 python/core/geometry/qgsrectangle.sip
  2. +2 −1 src/core/geometry/qgsrectangle.h
@@ -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
@@ -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;

0 comments on commit 4f34f94

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