Support >180 deg arcs in schematic.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* This program source code file is part of KiCad, a free EDA CAD application.
|
||||
*
|
||||
* Copyright (C) 2017 Jean-Pierre Charras, jp.charras at wanadoo.fr
|
||||
* Copyright (C) 2020-2022 KiCad Developers, see AUTHORS.txt for contributors.
|
||||
* Copyright (C) 2020-2023 KiCad Developers, see AUTHORS.txt for contributors.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU General Public License
|
||||
@@ -548,7 +548,8 @@ void PS_PLOTTER::Arc( const VECTOR2I& aCenter, const VECTOR2I& aStart, const VEC
|
||||
EDA_ANGLE endAngle( mapCoords( end_device - center_device ) );
|
||||
|
||||
// userToDeviceCoordinates gets our start/ends out of order
|
||||
std::swap( startAngle, endAngle );
|
||||
if( !m_plotMirror )
|
||||
std::swap( startAngle, endAngle );
|
||||
|
||||
SetCurrentLineWidth( aWidth );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user