Top |
Functions
|
ags_crop_note_set_selection () |
AgsCropNote * | ags_crop_note_new () |
#define | AGS_CROP_NOTE() |
#define | AGS_CROP_NOTE_CLASS() |
#define | AGS_CROP_NOTE_GET_CLASS() |
#define | AGS_IS_CROP_NOTE() |
#define | AGS_IS_CROP_NOTE_CLASS() |
|
ags_crop_note_get_type () |
Types and Values
#define | AGS_CROP_NOTE_DEFAULT_X_LENGTH |
#define | AGS_TYPE_CROP_NOTE |
struct | AgsCropNote |
struct | AgsCropNoteClass |
Functions
ags_crop_note_set_selection ()
void ags_crop_note_set_selection (AgsCropNote *crop_note
,);
GList *selection
Set selection
of crop_note
.
Parameters
crop_note |
the AgsCropNote |
|
selection |
the selection as |
[element-type AgsAudio.Note][transfer none] |
Since:
ags_crop_note_new ()
AgsCropNote * ags_crop_note_new (AgsAudio *audio
,AgsNotation *notation
,,
GList *selection,
guint x_padding,
gint x_crop,
gboolean absolute,
gboolean in_place);
gboolean do_resize
WARNING you need to provide AgsAudio as a property.
Creates an AgsCropNote task. Note either in_place
or do_resize
shall
be TRUE
Parameters
audio |
the AgsAudio |
|
notation |
the AgsNotation |
|
selection |
the selection as |
[element-type AgsAudio.Note][transfer none] |
x_padding |
the x padding to use |
|
x_crop |
the amout to crop |
|
absolute |
if |
|
in_place |
if |
|
do_resize |
if |
Since:
AGS_CROP_NOTE()
#define AGS_CROP_NOTE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_CROP_NOTE, AgsCropNote))
AGS_CROP_NOTE_CLASS()
#define AGS_CROP_NOTE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_CROP_NOTE, AgsCropNoteClass))
AGS_CROP_NOTE_GET_CLASS()
#define AGS_CROP_NOTE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_CROP_NOTE, AgsCropNoteClass))
AGS_IS_CROP_NOTE()
#define AGS_IS_CROP_NOTE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_CROP_NOTE))
AGS_IS_CROP_NOTE_CLASS()
#define AGS_IS_CROP_NOTE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_CROP_NOTE))
Property Details
The “absolute”
property
“absolute”gboolean
Crop notation by absolute position.
Owner: AgsCropNote
Flags: Read / Write
Default value: FALSE
Since:
The “audio”
property
“audio” AgsAudio *
The assigned AgsAudio
Owner: AgsCropNote
Flags: Read / Write
Since:
The “do-resize”
property
“do-resize”gboolean
Crop notation do resize.
Owner: AgsCropNote
Flags: Read / Write
Default value: FALSE
Since:
The “in-place”
property
“in-place”gboolean
Crop notation in place.
Owner: AgsCropNote
Flags: Read / Write
Default value: FALSE
Since:
The “notation”
property
“notation” AgsNotation *
The assigned AgsNotation
Owner: AgsCropNote
Flags: Read / Write
Since:
The “selection”
property
“selection”gpointer
The assigned AgsNote
[transfer full]
Owner: AgsCropNote
Flags: Read / Write
Since:
The “x-crop”
property
“x-crop”gint
Crop notation by x-crop amount.
Owner: AgsCropNote
Flags: Read / Write
Allowed values: [-307200,307200]
Default value: 0
Since: