We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent e25b56c commit 75f6094Copy full SHA for 75f6094
python/core/qgsmaprender.sip
@@ -33,6 +33,10 @@ class QgsMapRender : QObject
33
double scale() const;
34
double mupp() const;
35
36
+ int width() const;
37
+ int height() const;
38
+
39
40
//! Recalculate the map scale
41
void updateScale();
42
src/core/qgsmaprender.h
@@ -64,6 +64,9 @@ class CORE_EXPORT QgsMapRender : public QObject
64
double scale() const { return mScale; }
65
double mupp() const { return mMupp; }
66
67
+ int width() const { return mSize.width(); };
68
+ int height() const { return mSize.height(); };
69
70
71
72
0 commit comments