From 82593f4a51605fc4a20788b84d6f83795c490f6b Mon Sep 17 00:00:00 2001 From: "Nikolay (KrivobokovNS)" Date: Sat, 23 Aug 2025 14:38:11 +0300 Subject: [PATCH] =?UTF-8?q?code:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D0=B7=D0=B0=D0=B3=D0=BE=D0=BB=D0=BE=D0=B2=D0=BE?= =?UTF-8?q?=D1=87=D0=BD=D1=8B=D0=B9=20=D1=84=D0=B0=D0=B9=D0=BB=20svg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- svg.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 svg.h diff --git a/svg.h b/svg.h new file mode 100644 index 0000000..57cd26c --- /dev/null +++ b/svg.h @@ -0,0 +1,12 @@ +#ifndef SVG_H_INCLUDED +#define SVG_H_INCLUDED +#include +#include + +void svg_begin(double width, double height); +void svg_end(); +void svg_text(double left, double baseline, std::string text); +void svg_rect(double x, double y, double width, double height, std::string stroke, std::string fill); +void show_histogram_svg(const std::vector& bins, const std::string& fill, const std::string& stroke); + +#endif // SVG_H_INCLUDED