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();
Layout graphical items for displaying a map.
An object which handles north-arrow type behavior for layout items.
NorthMode northMode() const
Returns the mode used to calculate the arrow rotation.
double arrowRotation() const
Returns the rotation to be used for the arrow, in degrees clockwise.
void arrowRotationChanged(double newRotation)
Emitted on arrow rotation change.
NorthMode
Method for syncing rotation to a map's North direction.
@ TrueNorth
Align to true north.
double northOffset() const
Returns the offset added to the arrows's rotation from a map's North.