From 0f896bd254f7e8e8f0bf2003f062dd49a7988033 Mon Sep 17 00:00:00 2001 From: wawanbreton Date: Fri, 18 Oct 2024 05:52:31 +0000 Subject: [PATCH] Applied clang-format. --- src/utils/SVG.cpp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/utils/SVG.cpp b/src/utils/SVG.cpp index 5e281c05cc..83f223e9b1 100644 --- a/src/utils/SVG.cpp +++ b/src/utils/SVG.cpp @@ -69,13 +69,14 @@ void SVG::handleFlush(const bool flush) const SVG::SVG(std::string filename, AABB aabb, Point2LL canvas_size, ColorObject background) - : SVG(filename, - aabb, - std::min( - static_cast(canvas_size.X - canvas_size.X / 5 * 2) / static_cast(aabb.max_.X - aabb.min_.X), - static_cast(canvas_size.Y - canvas_size.Y / 5) / static_cast(aabb.max_.Y - aabb.min_.Y)), - canvas_size, - background) + : SVG( + filename, + aabb, + std::min( + static_cast(canvas_size.X - canvas_size.X / 5 * 2) / static_cast(aabb.max_.X - aabb.min_.X), + static_cast(canvas_size.Y - canvas_size.Y / 5) / static_cast(aabb.max_.Y - aabb.min_.Y)), + canvas_size, + background) { }