Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fix labeling hide partial labels setting when map is rotated
Previously partially hidden labels would be shown when a map is rotated, even if the project was set to hide partial labels. To achieve this pal has been refactored to allow an arbitrary QgsGeometry specifying the map boundary (instead of the previous rectangular only extents). The good news is that this paves the way for a future release to have non-rectangular layout map items, where the actual map item shape will be correctly handled by the labeling engine...
- Loading branch information
Showing
with
37 additions
and 30 deletions.
- +4 −10 src/core/pal/feature.cpp
- +2 −3 src/core/pal/feature.h
- +14 −13 src/core/pal/pal.cpp
- +9 −3 src/core/pal/pal.h
- +8 −1 src/core/qgslabelingengine.cpp