-
-
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.
Simplified map rendering configuration.
- scene and painter DPI are always the same - raster scale factor is always 1 - scale factor always means pixels per milimeter - no need to force of custom-computed scale - no "output units" - map settings always use pixels as units The logic used previously was getting too complex: - scene DPI vs painter DPI - enforcing custom scale in composer - unclear logic behind scale factor and raster scale factor settings This is resolved by doing composer-specific tweaks inside composer: - set map cache image's DPI (to get correct scale) - scale printer's painter to switch from mm to pixels (dots)
- Loading branch information
Showing
5 changed files
with
33 additions
and
124 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
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
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
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
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