Fixed issue #829. Flipping by Axis + Rotation of an Arc and an Elliptical Arc.
--HG-- branch : develop
This commit is contained in:
parent
979b97f169
commit
fb03dbbb19
|
@ -130,7 +130,7 @@ VEllipticalArc VEllipticalArc::Rotate(QPointF originPoint, qreal degrees, const
|
||||||
|
|
||||||
QTransform t = d->m_transform;
|
QTransform t = d->m_transform;
|
||||||
t.translate(originPoint.x(), originPoint.y());
|
t.translate(originPoint.x(), originPoint.y());
|
||||||
t.rotate(-degrees);
|
t.rotate(IsFlipped() ? degrees : -degrees);
|
||||||
t.translate(-originPoint.x(), -originPoint.y());
|
t.translate(-originPoint.x(), -originPoint.y());
|
||||||
|
|
||||||
VEllipticalArc elArc(VAbstractArc::GetCenter(), GetRadius1(), GetRadius2(), VAbstractArc::GetStartAngle(),
|
VEllipticalArc elArc(VAbstractArc::GetCenter(), GetRadius1(), GetRadius2(), VAbstractArc::GetStartAngle(),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user