Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to perform AND operation between QGraphicsItems
sri438 last edited by
hi..i have two QGraphicsRectItems how to perform ' and ' operation between those items...
roopeshchander last edited by
Presumably, you want the intersection of the two rectangles?
@QRectF intersectedRect = rectItem1.rect().intersected(rectItem2.rect());