|
Zrythm v2.0.0-alpha.1
a highly automated and intuitive digital audio workstation
|
Renders the tempo automation curve in the background of the tempo lane. More...
#include <src/gui/qquick/tempo_curve_canvas_renderer.h>


Public Member Functions | |
| void | synchronize (QCanvasPainterItem *item) override |
| void | paint (QCanvasPainter *painter) override |
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.