Zrythm v2.0.0-alpha.1
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::gui::qquick::TempoCurveCanvasRenderer Class Reference

Renders the tempo automation curve in the background of the tempo lane. More...

#include <src/gui/qquick/tempo_curve_canvas_renderer.h>

Inheritance diagram for zrythm::gui::qquick::TempoCurveCanvasRenderer:
Collaboration diagram for zrythm::gui::qquick::TempoCurveCanvasRenderer:

Public Member Functions

void synchronize (QCanvasPainterItem *item) override
void paint (QCanvasPainter *painter) override

Detailed Description

Renders the tempo automation curve in the background of the tempo lane.

The curve is drawn from the project's tempo objects (the same ones rendered as pills): constant segments as steps, linear segments as ramps, stroked and filled with a translucent vertical gradient. The event data is snapshotted in synchronize() (render thread blocked) and painted in paint() (render thread).

Definition at line 27 of file tempo_curve_canvas_renderer.h.


The documentation for this class was generated from the following file: