Constructor
AgsAudioCropNotenew
since: 3.0.0
Declaration [src]
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
)
Description [src]
WARNING you need to provide AgsAudio as a property.
Creates an AgsCropNote task. Note either in_place or do_resize shall
be TRUE else it won’t have any effect.
Available since: 3.0.0
Parameters
audio-
Type:
AgsAudioThe
AgsAudio.The data is owned by the caller of the function. notation-
Type:
AgsNotationThe
AgsNotation.The data is owned by the caller of the function. selection-
Type: A list of
AgsNote*The selection as
GList-struct.The data is owned by the caller of the function. x_padding-
Type:
guintThe x padding to use.
x_crop-
Type:
gintThe amout to crop.
absolute-
Type:
gbooleanIf
TRUEfrom absolute position, otherwise relative. in_place-
Type:
gbooleanIf
TRUEcrop in place, otherwise grow relative offset. do_resize-
Type:
gbooleanIf
TRUEresize notation, otherwise not.
Return value
Type: AgsCropNote
A new AgsCropNote.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |