diff --git a/Histogram/svg.cpp b/Histogram/svg.cpp new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/Histogram/svg.cpp @@ -0,0 +1 @@ + diff --git a/Histogram/svg.h b/Histogram/svg.h new file mode 100644 index 0000000..e3d2aa7 --- /dev/null +++ b/Histogram/svg.h @@ -0,0 +1,9 @@ +#pragma once +#include +#include +#include + +void svg_begin(double width, double height); +void svg_end(); +void svg_rect(double x, double y, double width, double height, std::string stroke = "black", std::string fill = "black"); +void svg_text(double left, double baseline, std::string text);