/* * Copyright (C) 2016-2021 Robin Gareus * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #include #include #include "ardour/export_analysis.h" #include "ardour/types.h" namespace ArdourGraphs { Cairo::RefPtr draw_waveform (Glib::RefPtr, ARDOUR::ExportAnalysisPtr, uint32_t channel, int height_2, int margin_left, bool logscale, bool rectified); Cairo::RefPtr draw_spectrum (Glib::RefPtr, ARDOUR::ExportAnalysisPtr, int height, int width); Cairo::RefPtr spectrum_legend (Glib::RefPtr, int height, int margin_right); Cairo::RefPtr loudness_histogram (Glib::RefPtr, ARDOUR::ExportAnalysisPtr, int height, int width = 540); Cairo::RefPtr time_axis (Glib::RefPtr, int width, int margin_left, ARDOUR::samplepos_t start, ARDOUR::samplecnt_t len, ARDOUR::samplecnt_t rate); Cairo::RefPtr plot_loudness (Glib::RefPtr, ARDOUR::ExportAnalysisPtr, int height, int margin_left, ARDOUR::samplecnt_t rate); }; // namespace ArdourGraphs