Antialiasing for QPixmap scaled in a QGraphicsScene
-
Or simply calculate all possible images for all zoom steps at the start.
That means if your zoom values range from 10% to 100% with zoom step +10% simply calculate all 9 images at the start, cache them and load them depending on the zoom value.
QPixmap pixmap100, pixmap90, pixmap80, pixmap70 ... (etc)
you would have to limit the number of possible zoom values of course to avoid long loading times and huge amount of data.
-
Or simply calculate all possible images for all zoom steps at the start.
That means if your zoom values range from 10% to 100% with zoom step +10% simply calculate all 9 images at the start, cache them and load them depending on the zoom value.
QPixmap pixmap100, pixmap90, pixmap80, pixmap70 ... (etc)
you would have to limit the number of possible zoom values of course to avoid long loading times and huge amount of data.