/// @file /// @brief Task2: SVG-Line element https://developer.mozilla.org/en-US/docs/Web/SVG/Element/line #pragma once #include "task2.Element.hpp" #include "task2.aliases.hpp" #include #include namespace task2 { /// @brief Line SVG Element /// open: /// text: empty string /// close: empty string struct LineElement : Element { LineElement(Line line) : line(line) { } std::string open() const override final { auto [a, b] = line; std::stringstream ss; ss << ""; return ss.str(); } std::string close() const override final { return std::string(); } std::string text() const override final { return std::string(); } private: Line line; }; } // namespace task2