Make QgsMapSettings rotation API docs follow same standard as other rotation API

This commit is contained in:
Nyall Dawson 2017-05-30 15:50:28 +10:00
parent d705642fb3
commit df52620377

View File

@ -57,12 +57,18 @@ Set the size of the resulting map image
double rotation() const;
%Docstring
Returns the rotation of the resulting map image, in degrees clockwise.
.. versionadded:: 2.8
.. seealso:: setRotation()
:rtype: float
%End
void setRotation( double degrees );
void setRotation( double rotation );
%Docstring
Sets the ``rotation`` of the resulting map image, in degrees clockwise.
.. versionadded:: 2.8
.. seealso:: rotation()
%End
double outputDpi() const;