Fixed issue #829. Flipping by Axis + Rotation of an Arc and an Elliptical Arc.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2018-03-30 09:43:11 +03:00
parent 979b97f169
commit fb03dbbb19

View file

@ -130,7 +130,7 @@ VEllipticalArc VEllipticalArc::Rotate(QPointF originPoint, qreal degrees, const
QTransform t = d->m_transform;
t.translate(originPoint.x(), originPoint.y());
t.rotate(-degrees);
t.rotate(IsFlipped() ? degrees : -degrees);
t.translate(-originPoint.x(), -originPoint.y());
VEllipticalArc elArc(VAbstractArc::GetCenter(), GetRadius1(), GetRadius2(), VAbstractArc::GetStartAngle(),