#include "svg_renderer.hpp" #include "math/constants.hpp" SvgRenderer::SvgRenderer(const std::filesystem::path& path, size_t width, size_t height) : m_file(path) { if (m_file.bad()) throw std::runtime_error("Cannot open " + path.string() + " for writing"); m_file << "" << std::endl; } void SvgRenderer::DrawLine(const math::Vector& p0, const math::Vector& p1) { m_file << " " << std::endl; } void SvgRenderer::DrawRectangle(const math::Vector& pos, const math::Vector& size, float angle) { float angleDeg = angle * math::RAD_TO_DEG; m_file << " " << std::endl; } void SvgRenderer::DrawCircle(const math::Vector& center, float radius) { m_file << " " << std::endl; } SvgRenderer::~SvgRenderer() { m_file << "" << std::endl; }