-
Bug
-
Resolution: Out of scope
-
P2: Important
-
None
-
4.6.2
-
None
The code below generates very different results depending on the graphics system in use.
See attached image for results on raster, native (X11) and opengl.
The opengl result is the correct one.
test.cpp
#include <QtGui> class ArcTest : public QWidget { Q_OBJECT public: ArcTest() { setFixedSize(200, 200); } void paintEvent(QPaintEvent*) { QPainter p(this); p.fillRect(rect(), Qt::white); QPainterPath path; path.arcMoveTo(99, 99, 2, 2, 0); path.arcTo(99, 99, 2, 2, 0, 360); QPen pen(Qt::black); pen.setWidth(185); p.strokePath(path, pen); } }; int main(int argc, char** argv) { QApplication app(argc, argv); ArcTest at; at.show(); return app.exec(); } #include "test.moc"