Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
automation_point.h File Reference

Automation Point. More...

#include "common/dsp/automation_point.h"
#include "gui/backend/gtk_widgets/gtk_wrapper.h"
Include dependency graph for automation_point.h:

Go to the source code of this file.

Functions

bool automation_point_is_point_hit (const AutomationPoint &self, double x, double y)
 Returns if the automation point (circle) is hit.
bool automation_point_is_curve_hit (const AutomationPoint &self, double x, double y, double delta_from_curve)
 Returns if the automation curve is hit.
bool automation_point_settings_changed (const AutomationPoint *self, const GdkRectangle *draw_rect, bool timeline)
 Returns whether the cached render node for self needs to be invalidated.
void automation_point_draw (AutomationPoint *ap, GtkSnapshot *snapshot, GdkRectangle *rect, PangoLayout *layout)
 Draws the AutomationPoint in the given cairo context in absolute coordinates.

Variables

constexpr int AP_WIDGET_POINT_SIZE = 6

Detailed Description

Automation Point.

Definition in file automation_point.h.