QGIS API Documentation
3.0.2-Girona (307d082)
|
Contains parameters regarding scalebar calculations. More...
#include <qgsscalebarrenderer.h>
Public Attributes | |
double | scale { 1.0 } |
Scale denominator. More... | |
double | segmentWidth { 0.0 } |
Width of each individual segment (in millimeters) More... | |
QSizeF | size |
Destination size for scalebar. More... | |
Contains parameters regarding scalebar calculations.
Definition at line 44 of file qgsscalebarrenderer.h.
double QgsScaleBarRenderer::ScaleBarContext::scale { 1.0 } |
Scale denominator.
Definition at line 57 of file qgsscalebarrenderer.h.
double QgsScaleBarRenderer::ScaleBarContext::segmentWidth { 0.0 } |
Width of each individual segment (in millimeters)
Definition at line 47 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 54 of file qgsscalebarrenderer.h.