Skip to content
Permalink
Browse files
Export QgsMapSettings rotation API to python
  • Loading branch information
Sandro Santilli committed Dec 9, 2014
1 parent 5683ebd commit b3953b8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
@@ -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.