Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
  • Loading branch information
domi4484 and nyalldawson committed Sep 1, 2021
1 parent fe3479c commit 3453667
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/core/labeling/qgspallabeling.h
Expand Up @@ -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 );

/**
Expand Down

0 comments on commit 3453667

Please sign in to comment.