[Qt-interest] Antialiasing via OpenGL v2 engine onto a QGLWidget (or FBO)

John Clayton john_clayton at me.com
Fri Dec 31 11:35:10 CET 2010


Hi All - 

I'm using OpenGLV2 engine with QGraphicsVIew - and when I use QPainterPath to draw a rounded rect, the edges on the rounded parts are very jagged.  I'm using setSampleBuffers(true) for the QGLWidget's QGLFormat - and also using both QPainter::AntiAliasing and QPainter::HighQualityAntialiasing - is there something else i should do to make it anti-alias those corners properly?  

Cheers and have a good new year!

--
John Clayton




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101231/efe3a961/attachment.html 


More information about the Qt-interest-old mailing list