diff --git a/src/app/geometry/varc.cpp b/src/app/geometry/varc.cpp index e871d849f..54fbf9906 100644 --- a/src/app/geometry/varc.cpp +++ b/src/app/geometry/varc.cpp @@ -128,31 +128,6 @@ QPointF VArc::GetP2 () const return centerP2.p2(); } -//--------------------------------------------------------------------------------------------------------------------- -/** - * @brief GetPath return QPainterPath for this arc. - * @return path. - */ -QPainterPath VArc::GetPath() const -{ - QPainterPath path; - - QVector points = GetPoints(); - if (points.count() >= 2) - { - for (qint32 i = 0; i < points.count()-1; ++i) - { - path.moveTo(points.at(i)); - path.lineTo(points.at(i+1)); - } - } - else - { - qDebug()<<"points.count() < 2"< GetPoints () const; QPointF CutArc (const qreal &length, VArc &arc1, VArc &arc2) const;