Robuta

https://forum.qt.io/topic/116489/original-center-of-qrectf-which-is-translated-about-a-point-x-y Original center of QRectF which is Translated about a point (x,y) | Qt Forum Jun 30, 2020 - As shown in the fig , I have a QRect A, where it's center is (cx,cy). I have translated it as follows A.translate(-p); where p is QPoint p (x,y). Now i hav... https://doc.qt.io/QT-6/qrectf.html QRectF Class | Qt Core | Qt 6.11.1 The QRectF class defines a finite rectangle in the plane using floating point precision. classqtcore