code: добавлен заголовочный файл svg

Этот коммит содержится в:
2025-08-23 14:38:11 +03:00
родитель 4c0a8615bb
Коммит 82593f4a51

12
svg.h Обычный файл
Просмотреть файл

@@ -0,0 +1,12 @@
#ifndef SVG_H_INCLUDED
#define SVG_H_INCLUDED
#include <string>
#include <vector>
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<size_t>& bins, const std::string& fill, const std::string& stroke);
#endif // SVG_H_INCLUDED