QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
Contains parameters regarding scalebar calculations. More...
#include <qgsscalebarrenderer.h>
Public Attributes | |
Flags | flags |
Scalebar renderer flags. More... | |
double | scale { 1.0 } |
Scale denominator. More... | |
double | segmentWidth { 0.0 } |
The width, in millimeters, of each individual segment drawn. More... | |
QSizeF | size |
Destination size for scalebar. More... | |
Contains parameters regarding scalebar calculations.
Definition at line 70 of file qgsscalebarrenderer.h.
Flags QgsScaleBarRenderer::ScaleBarContext::flags |
Scalebar renderer flags.
Definition at line 90 of file qgsscalebarrenderer.h.
double QgsScaleBarRenderer::ScaleBarContext::scale { 1.0 } |
Scale denominator.
Definition at line 87 of file qgsscalebarrenderer.h.
double QgsScaleBarRenderer::ScaleBarContext::segmentWidth { 0.0 } |
The width, in millimeters, of each individual segment drawn.
Definition at line 77 of file qgsscalebarrenderer.h.
QSizeF QgsScaleBarRenderer::ScaleBarContext::size |
Destination size for scalebar.
This is used for scalebars which alter their appearance or alignment based on the desired scalebar size (e.g. correctly aligning text in a numeric scale bar).
Definition at line 84 of file qgsscalebarrenderer.h.