QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
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 );
99 void arrowRotationChanged(
double newRotation );
104 double mArrowRotation = 0;
106 QString mRotationMapUuid;
108 QPointer< QgsLayoutItemMap > mRotationMap;
111 NorthMode mNorthMode = GridNorth;
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.
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.