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

Этот коммит содержится в:
2025-05-05 01:10:59 +03:00
родитель 23d34a88a5
Коммит dbe45a69e0

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

@@ -0,0 +1,13 @@
#ifndef SVG_H_INCLUDED
#define SVG_H_INCLUDED
#include <vector>
#include <string>
void svg_begin(double width, double height);
void svg_end();
void svg_text(double left, double baseline, const std::string& text);
void svg_rect(double x, double y, double width, double height, const std::string& stroke = "black", const std::string& fill = "black");
void show_histogram_svg(const std::vector<size_t>& bins);
#endif // SVG_H_INCLUDED