diff --git a/src/libs/vgeometry/vellipticalarc.cpp b/src/libs/vgeometry/vellipticalarc.cpp index ed9eb22e6..6accc9b30 100644 --- a/src/libs/vgeometry/vellipticalarc.cpp +++ b/src/libs/vgeometry/vellipticalarc.cpp @@ -279,7 +279,9 @@ QVector VEllipticalArc::GetPoints() const } QPainterPath path; + path.moveTo(GetP1()); path.arcTo(box, VAbstractArc::GetStartAngle(), sweepAngle); + path.moveTo(GetP2()); QTransform t = d->m_transform; t.translate(center.x(), center.y()); @@ -293,10 +295,6 @@ QVector VEllipticalArc::GetPoints() const if (not sub.isEmpty()) { polygon = ConstFirst (path.toSubpathPolygons()); - if (not polygon.isEmpty()) - { - polygon.removeFirst(); // remove point (0;0) - } } return static_cast>(polygon);