-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use standard QgsUnitTypes::RenderUnit throughout labeling
Instead of duplicate labeling specific unit enum, reuse the QgsUnitTypes::RenderUnit enum in labeling. This brings several improvements, including: - label offset/distance/repeat units now works correctly in all available unit types (inc pixels, map unit meters, points, inches, etc) - less duplicate code - labeling can use the robust QgsRenderContext methods for converting between different units and painter coordinates Also change comments for members to doxygen comments, so that these get included in the API docs.
- Loading branch information
1 parent
9a12249
commit e304662
Showing
5 changed files
with
607 additions
and
148 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.