From 5cd6030edb0ecb45f0e0c9b9ad44dd782bd0bca3 Mon Sep 17 00:00:00 2001 From: TarasovEE Date: Tue, 5 Aug 2025 21:20:00 +0300 Subject: [PATCH] =?UTF-8?q?sourcesvg:=20=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=20=D1=84=D0=B0=D0=B9=D0=BB=20=D1=80=D0=B5?= =?UTF-8?q?=D0=B0=D0=BB=D0=B8=D0=B7=D0=B0=D1=86=D0=B8=D0=B8=20=D0=B4=D0=BB?= =?UTF-8?q?=D1=8F=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D1=8B=20=D1=81=20SVG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- svg.cpp | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 svg.cpp 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 << ""; +}