Qt 6.11 is out! See what's new in the release
blog
Is there a way to zoom in and out of a paint event?
-
@ofmrew said in Is there a way to zoom in and out of a paint event?:
Have you tried setting the transformation matrix?
looks reasonable to me. QPainter has several methods that are directly related to this.
-
read the QPainter documentation
-
Better yet read: https://doc.qt.io/qt-5/qtwidgets-painting-transformations-example.html as it gives examples.