merge develop into feature
--HG-- branch : feature
This commit is contained in:
commit
5b181cc3b8
|
@ -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