QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
17 #ifndef QGSLAYOUTNORTHARROWHANDLER_H
18 #define QGSLAYOUTNORTHARROWHANDLER_H
20 #include "qgis_core.h"
81 void setNorthMode( NorthMode mode );
95 void setNorthOffset(
double offset );
104 double mArrowRotation = 0;
106 QString mRotationMapUuid;
108 QPointer< QgsLayoutItemMap > mRotationMap;
113 double mNorthOffset = 0.0;
119 void updateMapRotation();
124 #endif // QGSLAYOUTNORTHARROWHANDLER_H
@ TrueNorth
Align to true north.
double arrowRotation() const
Returns the rotation to be used for the arrow, in degrees clockwise.
NorthMode northMode() const
Returns the mode used to calculate the arrow rotation.
void arrowRotationChanged(double newRotation)
Emitted on arrow rotation change.
An object which handles north-arrow type behavior for layout items.
NorthMode
Method for syncing rotation to a map's North direction.
Layout graphical items for displaying a map.
double northOffset() const
Returns the offset added to the arrows's rotation from a map's North.