44,46c44 < # center = QPoint(w/2, h/2) < center = QPoint( int(w/2), int(h/2) ) < # diameter = min(w, h) - 70 --- > center = QPoint(w/2, h/2) 49d46 < # qp.drawEllipse(center, diameter/2, diameter/2) 56c53 < L = min(w, h) - 50 --- > L = min(w, h) - 50 59,61d55 < < L2 = int(L/2) < 63,66c57,60 < p1 = QPoint(cx + L2, cy) < p2 = QPoint(cx, cy - L2) < p3 = QPoint(cx - L2, cy) < p4 = QPoint(cx, cy + L2) --- > p1 = QPoint(cx + L/2, cy) > p2 = QPoint(cx, cy - L/2) > p3 = QPoint(cx - L/2, cy) > p4 = QPoint(cx, cy + L/2) 69,72c63,66 < br1 = QRect(cx + L2, cy-6, 30, 12) < br2 = QRect(cx-15, cy - L2 - 12, 30, 12) < br3 = QRect(cx - L2 - 30, cy-6, 30, 12) < br4 = QRect(cx-15, cy + L2, 30, 12) --- > br1 = QRect(cx + L/2, cy-6, 30, 12) > br2 = QRect(cx-15, cy - L/2 - 12, 30, 12) > br3 = QRect(cx - L/2 - 30, cy-6, 30, 12) > br4 = QRect(cx-15, cy + L/2, 30, 12) 82,86c76 < < w2 = int(w/2) < h2 = int(h/2) < < center = QPoint(w2, h2) --- > center = QPoint(w/2, h/2) 98,100c88 < < p = ( QPoint( int(x), int(y) ) + center ) < --- > p = QPoint(x, y) + center