Skip to content

Commit

Permalink
Make QgsMapSettings rotation API docs follow same standard as other r…
Browse files Browse the repository at this point in the history
…otation API
  • Loading branch information
nyalldawson committed May 30, 2017
1 parent d705642 commit df52620
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion python/core/qgsmapsettings.sip
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit df52620

Please sign in to comment.