Is there a way to zoom in and out of a paint event?
Unsolved
General and Desktop
-
@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.