I am trying to draw an ellipse in Qt and the border on the edges goes thin in some places.
Here is the code:
QPainter painter(this);
painter.setRenderHint(QPainter::Antialiasing, true);
painter.setPen(QPen(Qt::black, 3));
painter.drawEllipse(event->rect());
Any ideas? Thanks in advance.