Skip to content

Struct QAccelPlot::LineCurveRenderParams

ClassList > QAccelPlot > LineCurveRenderParams

Input parameters for LineCurveLineRenderer::paint() , assembled on the main thread.

  • #include <LineCurveLineRenderer.hpp>

Public Attributes

Type Name
bool antialiasingEnabled
Whether GPU-side anti-aliasing is active.
qreal antialiasingFeather
Anti-aliasing feather width in pixels.
QColor color
Base line color.
const std::vector< float > & data
GPU-ready interleaved XY float data.
bool dataChanged
Whether the data buffer has changed since the last frame.
QVector2D domainMax
Maximum data-space coordinate.
QVector2D domainMin
Minimum data-space coordinate.
const GradientFillPayload & gradientFillPayload
Gradient fill parameters.
const GradientColorPayload & gradientPayload
Gradient stroke parameters.
bool hovered
Whether the curve is currently hovered.
const LineStyle * lineStyle
Active line style (dash pattern etc.).
qreal lineWidth
Line width in pixels.
bool logScaleX
Whether the X axis uses log scale.
bool logScaleY
Whether the Y axis uses log scale.
int pointCount
Number of points in data .
CurveDataView sourceData
Original float or double data used by CPU-side operations.
StepMode stepMode = {StepMode::None}
How the line joins consecutive data points.
const std::vector< char > * vertexCache
Pre-built vertex buffer, or nullptr to build on the render thread.
QVector2D viewportSize
Viewport size in pixels.
QQuickWindow * window
Window providing the texture upload context.
Axis * xAxis
Horizontal axis.
Axis * yAxis
Vertical axis.

Public Attributes Documentation

variable antialiasingEnabled

Whether GPU-side anti-aliasing is active.

bool QAccelPlot::LineCurveRenderParams::antialiasingEnabled;


variable antialiasingFeather

Anti-aliasing feather width in pixels.

qreal QAccelPlot::LineCurveRenderParams::antialiasingFeather;


variable color

Base line color.

QColor QAccelPlot::LineCurveRenderParams::color;


variable data

GPU-ready interleaved XY float data.

const std::vector<float>& QAccelPlot::LineCurveRenderParams::data;


variable dataChanged

Whether the data buffer has changed since the last frame.

bool QAccelPlot::LineCurveRenderParams::dataChanged;


variable domainMax

Maximum data-space coordinate.

QVector2D QAccelPlot::LineCurveRenderParams::domainMax;


variable domainMin

Minimum data-space coordinate.

QVector2D QAccelPlot::LineCurveRenderParams::domainMin;


variable gradientFillPayload

Gradient fill parameters.

const GradientFillPayload& QAccelPlot::LineCurveRenderParams::gradientFillPayload;


variable gradientPayload

Gradient stroke parameters.

const GradientColorPayload& QAccelPlot::LineCurveRenderParams::gradientPayload;


variable hovered

Whether the curve is currently hovered.

bool QAccelPlot::LineCurveRenderParams::hovered;


variable lineStyle

Active line style (dash pattern etc.).

const LineStyle* QAccelPlot::LineCurveRenderParams::lineStyle;


variable lineWidth

Line width in pixels.

qreal QAccelPlot::LineCurveRenderParams::lineWidth;


variable logScaleX

Whether the X axis uses log scale.

bool QAccelPlot::LineCurveRenderParams::logScaleX;


variable logScaleY

Whether the Y axis uses log scale.

bool QAccelPlot::LineCurveRenderParams::logScaleY;


variable pointCount

Number of points in data .

int QAccelPlot::LineCurveRenderParams::pointCount;


variable sourceData

Original float or double data used by CPU-side operations.

CurveDataView QAccelPlot::LineCurveRenderParams::sourceData;


variable stepMode

How the line joins consecutive data points.

StepMode QAccelPlot::LineCurveRenderParams::stepMode;


variable vertexCache

Pre-built vertex buffer, or nullptr to build on the render thread.

const std::vector<char>* QAccelPlot::LineCurveRenderParams::vertexCache;


variable viewportSize

Viewport size in pixels.

QVector2D QAccelPlot::LineCurveRenderParams::viewportSize;


variable window

Window providing the texture upload context.

QQuickWindow* QAccelPlot::LineCurveRenderParams::window;


variable xAxis

Horizontal axis.

Axis* QAccelPlot::LineCurveRenderParams::xAxis;


variable yAxis

Vertical axis.

Axis* QAccelPlot::LineCurveRenderParams::yAxis;



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