8 #include "floatauto.inc"
10 class FloatAutos
: public Autos
15 // Value for default auto
20 int draw_joining_line(BC_SubWindow
*canvas
, int vertical
, int center_pixel
, int x1
, int y1
, int x2
, int y2
);
21 int get_testy(float slope
, int cursor_x
, int ax
, int ay
);
22 // Return 1 if the automation is constant.
23 // constant - set to the value if it is constant
24 int automation_is_constant(int64_t start
,
28 double get_automation_constant(int64_t start
, int64_t end
);
29 // Get value at a specific point. This needs previous and next stores
30 // because it is used for every pixel in the drawing function.
31 float get_value(int64_t position
,
35 void get_fade_automation(double &slope
,
37 int64_t input_position
,
40 void get_extents(float *min
,
42 int *coords_undefined
,
46 void straighten(int64_t start
, int64_t end
);
49 Auto
* add_auto(int64_t position
, float value
);