From fbdfdf4fbcd276c427c436ba37e7828f82f1a204 Mon Sep 17 00:00:00 2001 From: Uwe Date: Thu, 6 Oct 2022 02:56:35 +0200 Subject: [PATCH] [TD] [skip CI] TechDrawExport.cpp: whitespace fixes --- src/Mod/TechDraw/App/TechDrawExport.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/Mod/TechDraw/App/TechDrawExport.cpp b/src/Mod/TechDraw/App/TechDrawExport.cpp index 4ceeda2656..ed6446fb46 100644 --- a/src/Mod/TechDraw/App/TechDrawExport.cpp +++ b/src/Mod/TechDraw/App/TechDrawExport.cpp @@ -521,7 +521,7 @@ void DXFOutput::printCircle(const BRepAdaptor_Curve& c, std::ostream& out) else { // See also https://developer.mozilla.org/en/SVG/Tutorial/Paths /*char xar = '0'; // x-axis-rotation - char las = (l-f > D_PI) ? '1' : '0'; // large-arc-flag + char las = (l-f > M_PI) ? '1' : '0'; // large-arc-flag char swp = (a < 0) ? '1' : '0'; // sweep-flag, i.e. clockwise (0) or counter-clockwise (1) out << " 0){ + if (a > 0) { double temp = start_angle; start_angle = end_angle; end_angle = temp;} @@ -562,9 +561,6 @@ void DXFOutput::printCircle(const BRepAdaptor_Curve& c, std::ostream& out) out << start_angle << endl; // Start angle out << 51 << endl; out << end_angle << endl; // End angle - - - } }