Example #1
0
    def __drawCutter(self, c: Cutter):
        tl = c.topLeft()
        br = c.bottomRight()

        c.setSceneItem(
            self.scene.addRect(tl.x(), tl.y(),
                               br.x() - tl.x(),
                               br.y() - tl.y(), self.CUTTER_COLOR))