Skip to content
Permalink
Browse files
Apply suggestions from code review
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
  • Loading branch information
domi4484 and nyalldawson committed Sep 1, 2021
1 parent fe3479c commit 3453667488f4e32db173f1304a0d7e49cae562ac
Showing with 10 additions and 2 deletions.
  1. +10 −2 src/core/labeling/qgspallabeling.h
@@ -633,10 +633,18 @@ class CORE_EXPORT QgsPalLayerSettings
//! True if label rotation should be preserved during label pin/unpin operations.
bool preserveRotation = true;

//! Unit for rotation of labels.
/**
* Unit for rotation of labels.
* \see setRotationUnit()
* \since QGIS 3.22
*/
QgsUnitTypes::AngleUnit rotationUnit() const;

//! Set unit for rotation of labels.
/**
* Set unit for rotation of labels.
* \see rotationUnit()
* \since QGIS 3.22
*/
void setRotationUnit( QgsUnitTypes::AngleUnit angleUnit );

/**

0 comments on commit 3453667

Please sign in to comment.