C++ (Qt)void TargetsView::drawBackground(QPainter *painter, const QRectF &rect){ QPointF center(sceneRect().width() / 2, sceneRect().height() / 2); painter->drawEllipse(center, 90, 90);}
C++ (Qt)void TargetsView::drawBackground(QPainter *painter, const QRectF &rect){ painter->drawEllipse(QPointF( 0, 0 ), -45, -45);}