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

Automation Point. More...

#include "dsp/automation_point.h"
#include "utils/ui.h"
#include <gtk/gtk.h>
Include dependency graph for automation_point.h:

Go to the source code of this file.

Macros

#define AP_WIDGET_POINT_SIZE   6
 

Functions

bool automation_point_is_point_hit (AutomationPoint *self, double x, double y)
 Returns if the automation point (circle) is hit.
 
bool automation_point_is_curve_hit (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.
 

Detailed Description

Automation Point.

Definition in file automation_point.h.