Skip to content

Struct QAccelPlot::DashParameters

ClassList > QAccelPlot > DashParameters

Plain-data snapshot of dash rendering parameters. More...

  • #include <LineStyle.hpp>

Public Attributes

Type Name
bool enabled = {false}
true when dashed rendering is active.
float offset = {0.0f}
Phase offset into the dash pattern in pixels.
float pattern = {}
Alternating dash/gap lengths.
int patternSize = {0}
Number of valid entries in pattern .
float period = {0.0f}
Total dash+gap cycle length in pixels.

Detailed Description

Extracted from a DashLine on the main thread so the line renderer never needs to touch the QObject hierarchy directly.

Public Attributes Documentation

variable enabled

true when dashed rendering is active.

bool QAccelPlot::DashParameters::enabled;


variable offset

Phase offset into the dash pattern in pixels.

float QAccelPlot::DashParameters::offset;


variable pattern

Alternating dash/gap lengths.

float QAccelPlot::DashParameters::pattern[kMaxDashPatternSize];


variable patternSize

Number of valid entries in pattern .

int QAccelPlot::DashParameters::patternSize;


variable period

Total dash+gap cycle length in pixels.

float QAccelPlot::DashParameters::period;



The documentation for this class was generated from the following file QAccelPlot/src/QAccelPlot/linestyles/LineStyle.hpp