From 37a21ea6102642a820fdc54b5abdb892db9ef391 Mon Sep 17 00:00:00 2001 From: KriviAS Date: Sun, 21 Apr 2024 21:12:22 +0300 Subject: [PATCH] =?UTF-8?q?build:=20=D0=B4=D0=BE=D0=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- svg.cpp | 24 ++++++++++++++++++++++++ svg.h | 7 +++++++ 2 files changed, 31 insertions(+) create mode 100644 svg.cpp create mode 100644 svg.h diff --git a/svg.cpp b/svg.cpp new file mode 100644 index 0000000..1b08098 --- /dev/null +++ b/svg.cpp @@ -0,0 +1,24 @@ +#include +#include +using namespace std; + +void +svg_begin(double width, double height) { + cout << "\n"; + cout << "\n"; +} + +void +svg_end() { + cout << "\n"; +} + +void +show_histogram_svg(const vector & bins) { + svg_begin(400, 300); + svg_end(); +} diff --git a/svg.h b/svg.h new file mode 100644 index 0000000..4541a98 --- /dev/null +++ b/svg.h @@ -0,0 +1,7 @@ +#ifndef SVG_H_INCLUDED +#define SVG_H_INCLUDED + +void +show_histogram_svg(const std::vector& bins); + +#endif // SVG_H_INCLUDED