diff --git a/svg.cpp b/svg.cpp new file mode 100644 index 0000000..d837164 --- /dev/null +++ b/svg.cpp @@ -0,0 +1,37 @@ +#include +#include "svg.h" +using namespace std; + +// Функция заголовка. + +void svg_begin(double width, double height) +{ + cout << "\n"; + cout << "\n"; +} + +// Функция окончания. + +void svg_end() +{ + cout << "\n"; +} + +// Функция вывода строки. + +void svg_text(double left, double baseline, string text) +{ + cout << "" << text << ""; +} + +// Функция вывода прямоугольника. + +void svg_rect(double x, double y, double width, double height, string stroke, string fill) +{ + cout << ""; +}