Skip to content

ScaleBar

struct nmeasim::app::map::ScaleBar ยท Applications

Length and caption of the scale bar.

Declared in src/app/map/map_widget.hpp (line 42)

The default, a zero length and an empty label, means that no bar is drawn.

Summary

Public data members

Name Description
length_px Length of the bar in pixels.
label Distance the bar stands for, for example 0.5 nm or 50 m.

Public data members

length_px

double length_px{0.0}

Length of the bar in pixels.

Declared in src/app/map/map_widget.hpp:44

label

QString label

Distance the bar stands for, for example 0.5 nm or 50 m.

Declared in src/app/map/map_widget.hpp:46