pl01
7th December 2011, 11:08
Hi,
I'm using the QGraphicsView to display a graph and when I use 'QGraphicsItem::NoCache' for drawing some curves I have no antialiasing.
What is strange is that with other options I have the antialiasing. Of course I also set 'painter->setRenderHint(QPainter::Antialiasing, true);' in the paint method and use 'setRenderHints(QPainter::Antialiasing | QPainter::SmoothPixmapTransform);' on the GraphicsView !
Do you know I have no antialiasing, curves looks stranges ?
Thanks
I'm using the QGraphicsView to display a graph and when I use 'QGraphicsItem::NoCache' for drawing some curves I have no antialiasing.
What is strange is that with other options I have the antialiasing. Of course I also set 'painter->setRenderHint(QPainter::Antialiasing, true);' in the paint method and use 'setRenderHints(QPainter::Antialiasing | QPainter::SmoothPixmapTransform);' on the GraphicsView !
Do you know I have no antialiasing, curves looks stranges ?
Thanks