fix: use a workaround to avoid pixelated when zoomed out

GH-31
This commit is contained in:
Gary Wang
2021-06-20 14:59:44 +08:00
parent 4c07a89ca3
commit 36c54addce
3 changed files with 40 additions and 6 deletions

View File

@ -15,7 +15,7 @@ public:
void showSvg(const QString &filepath);
void showAnimated(const QString &filepath);
bool trySetTransformationMode(Qt::TransformationMode mode);
bool trySetTransformationMode(Qt::TransformationMode mode, float scaleHint);
QPixmap renderToPixmap();