Skip to content
Permalink
Browse files

Export QgsMapSettings rotation API to python

  • Loading branch information
Sandro Santilli
Sandro Santilli committed Dec 9, 2014
1 parent 5683ebd commit b3953b8339531986690ffcef33707d3462f2469b
Showing with 9 additions and 1 deletion.
  1. +9 −0 python/core/qgsmapsettings.sip
  2. +0 −1 src/core/qgsmapsettings.h
@@ -24,6 +24,15 @@ class QgsMapSettings
//! Set the size of the resulting map image
void setOutputSize( const QSize& size );

//! Return the rotation of the resulting map image
//! Units are clockwise degrees
//! @note added in 2.8
double rotation() const;
//! Set the rotation of the resulting map image
//! Units are clockwise degrees
//! @note added in 2.8
void setRotation( double degrees );

//! Return DPI used for conversion between real world units (e.g. mm) and pixels
//! Default value is 96
int outputDpi() const;
@@ -76,7 +76,6 @@ class CORE_EXPORT QgsMapSettings
double rotation() const;
//! Set the rotation of the resulting map image
//! Units are clockwise degrees
//! TODO: define relation between extent and rotation
//! @note added in 2.8
void setRotation( double degrees );

0 comments on commit b3953b8

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