Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
graph_export.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: © 2020 Alexandros Theodotou <alex@zrythm.org>
2// SPDX-License-Identifier: LicenseRef-ZrythmLicense
3
10#ifndef __AUDIO_GRAPH_EXPORT_H__
11#define __AUDIO_GRAPH_EXPORT_H__
12
13#include "zrythm-config.h"
14
15typedef struct Graph Graph;
16
26typedef enum GraphExportType
27{
28#ifdef HAVE_CGRAPH
29 GRAPH_EXPORT_PNG,
30 GRAPH_EXPORT_DOT,
31 GRAPH_EXPORT_PS,
32 GRAPH_EXPORT_SVG,
33#endif
34 NUM_GRAPH_EXPORT_TYPES,
36
37void
38graph_export_as_simple (GraphExportType type, const char * export_path);
39
45void
46graph_export_as (Graph * graph, GraphExportType type, const char * path);
47
52#endif
GraphExportType
Export type.
void graph_export_as(Graph *graph, GraphExportType type, const char *path)
Exports the graph at the given path.
Graph.
Definition graph.h:71