1
0

fix: use SmoothTransformation when scale factor less than 100%

This commit is contained in:
Gary Wang
2020-02-13 19:45:14 +08:00
parent 8fe860e4bf
commit f49ed645fc
4 changed files with 25 additions and 0 deletions

View File

@@ -54,6 +54,7 @@ private:
bool isThingSmallerThanWindowWith(const QTransform &transform) const;
bool shouldIgnoreMousePressMoveEvent(const QMouseEvent *event) const;
void setCheckerboardEnabled(bool enabled);
void applyTransformationModeByScaleFactor();
void resetWithScaleAndRotate(qreal scaleFactor, qreal rotateAngle);