mirror of
https://github.com/qgis/QGIS.git
synced 2025-05-09 00:03:46 -04:00
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.