AgsAutomationArea

AgsAutomationArea — area automations

Functions

Properties

AgsAutomation * automation Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsAutomationArea

Implemented Interfaces

AgsAutomationArea implements AgsConnectable.

Includes

#include <ags/X/areaor/ags_automation_area.h>

Description

The AgsAutomationArea lets you paint automations.

Functions

ags_automation_area_find_specifier ()

GList *
ags_automation_area_find_specifier (GList *automation_area,
                                    gchar *specifier);


ags_automation_area_draw_strip ()

void
ags_automation_area_draw_strip (AgsAutomationArea *automation_area,
                                cairo_t *cr,
                                gdouble x_offset,
                                gdouble y_offset);

Plot data.

Parameters

automation_area

the AgsAutomationArea

 

cr

the cairo_t surface

 

x_offset

x position given by GtkHScrollbar

 

y_offset

y position given by GtkVScrollbar

 

Since: 0.4.3


ags_automation_area_draw_segment ()

void
ags_automation_area_draw_segment (AgsAutomationArea *automation_area,
                                  cairo_t *cr,
                                  gdouble x_offset,
                                  gdouble y_offset);

Draws horizontal and vertical lines.

Parameters

automation_area

the AgsAutomationArea

 

cr

the cairo_t surface

 

x_offset

x position given by GtkHScrollbar

 

y_offset

y position given by GtkVScrollbar

 

Since: 0.4.3


ags_automation_area_draw_scale ()

void
ags_automation_area_draw_scale (AgsAutomationArea *automation_area,
                                cairo_t *cr,
                                gdouble x_offset,
                                gdouble y_offset);

Draw a scale and its boundaries.

Parameters

automation_area

the AgsAutomationArea

 

cr

the cairo_t surface

 

x_offset

x position given by GtkHScrollbar

 

y_offset

y position given by GtkVScrollbar

 

Since: 0.4.3


ags_automation_area_draw_automation ()

void
ags_automation_area_draw_automation (AgsAutomationArea *automation_area,
                                     cairo_t *cr,
                                     gdouble x_offset,
                                     gdouble y_offset);

Draw the AgsAutomation of selected AgsMachine on automation_edit .

Parameters

automation_area

a AgsAutomationArea

 

cr

the cairo_t surface

 

x_offset

x position given by GtkHScrollbar

 

y_offset

y position given by GtkVScrollbar

 

Since: 0.4.3


ags_automation_area_draw_surface ()

void
ags_automation_area_draw_surface (AgsAutomationArea *automation_area,
                                  cairo_t *cr,
                                  gdouble x_offset,
                                  gdouble y_offset,
                                  gdouble x0,
                                  gdouble y0,
                                  gdouble x1,
                                  gdouble y1,
                                  guint steps);

Draw a portion of data.

Parameters

automation_area

the AgsAutomationArea

 

cr

the cairo_t surface

 

x_offset

x position given by GtkHScrollbar

 

y_offset

y position given by GtkVScrollbar

 

x0

x offset

 

y0

y offset

 

x1

x offset

 

y1

y offset

 

steps

precision range

 

Since: 0.4.3


ags_automation_area_paint ()

void
ags_automation_area_paint (AgsAutomationArea *automation_area,
                           cairo_t *cr,
                           gdouble x_offset,
                           gdouble y_offset);


ags_automation_area_new ()

AgsAutomationArea *
ags_automation_area_new (GtkDrawingArea *drawing_area,
                         AgsAudio *audio,
                         GType channel_type,
                         gchar *control_name);

Create a new AgsAutomationArea.

Parameters

drawing_area

the assigned drawing area

 

audio

the assigned AgsAudio

 

channel_type

the channel type

 

control_name

the control_name

 

Returns

a new AgsAutomationArea

Since: 0.4.3

Types and Values

AGS_AUTOMATION_AREA_DEFAULT_HEIGHT

#define AGS_AUTOMATION_AREA_DEFAULT_HEIGHT (128)


AGS_AUTOMATION_AREA_DEFAULT_PRECISION

#define AGS_AUTOMATION_AREA_DEFAULT_PRECISION (8)

Property Details

The “automation” property

  “automation”               AgsAutomation *

The automation of automation area.

Flags: Read / Write

Since: 0.4.0