Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[api] Allow a symbology reference scale to be set on a QgsRenderContext
This should match the desired scale denominator for the rendered map, eg 1000.0 for a 1:1000 map render. Set (by default) to -1 to disable symbology scaling by reference scale. The symbology reference scale is an optional property which specifies the reference scale at which symbology in paper units (such as millimeters or points) is fixed to. For instance, if \a scale is set to 1000 then a 2mm thick line will be rendered at exactly 2mm thick when a map is rendered at 1:1000, or 1mm thick when rendered at 1:2000, or 4mm thick at 1:500.
- Loading branch information
1 parent
23048dd
commit 54610b2
Showing
4 changed files
with
198 additions
and
8 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