AgsMoveNote

AgsMoveNote — move notation

Stability Level

Stable, unless otherwise indicated

Functions

Types and Values

Includes

#include <ags/audio/task/ags_move_note.h>

Description

The AgsMoveNote task moves AgsNotation.

Functions

ags_move_note_set_selection ()

void
ags_move_note_set_selection (AgsMoveNote *move_note,
                             GList *selection);

Set selection of move_note .

Parameters

move_note

the AgsMoveNote

 

selection

the selection as GList.

[element-type AgsAudio.Note][transfer none]

Since: 3.2.3


ags_move_note_new ()

AgsMoveNote *
ags_move_note_new (AgsAudio *audio,
                   AgsNotation *notation,
                   GList *selection,
                   guint first_x,
                   guint first_y,
                   gint move_x,
                   gint move_y,
                   gboolean relative,
                   gboolean absolute);

Create a new instance of AgsMoveNote task. Note either relative or absolute shall be TRUE else it won't have any effect.

Parameters

audio

the AgsAudio

 

notation

the AgsNotation

 

selection

the selection as GList.

[element-type AgsAudio.Note][transfer none]

first_x

the x offset to move from

 

first_y

the x padding to use

 

move_x

the amout to move in x direction

 

move_y

the amout to move in y direction

 

relative

if TRUE move relative position

 

absolute

if TRUE move absolute position

 

Returns

a new AgsMoveNote

Since: 3.0.0

Types and Values

AGS_MOVE_NOTE_DEFAULT_X_LENGTH

#define AGS_MOVE_NOTE_DEFAULT_X_LENGTH (16 * 16 * 1200)

AGS_MOVE_NOTE_DEFAULT_Y_LENGTH

#define AGS_MOVE_NOTE_DEFAULT_Y_LENGTH (1024)