QGraphicsWebView smooth pixmap
bunjee last edited by
I have a QGraphicsWebView embedded in QGraphicsView with the QPainter::SmoothPixmapTransform flag enabled.
The pictures of my QGraphicsWebView does not seem to be smoothed like they are in the Google chrome browser for instance.
Is there a way to enable this ?
benjamin.poulain last edited by
The flag QPainter::SmoothPixmapTransform only affects the way QGraphicsItem are transformed. For WebKit, this applies for AcceleratedCompositing, but not for regular transformed layers.
QtWebKit 2.0 did not have antialiasing for transform. This has been enabled in QtWebKit 2.1. I suggest you to try with the branch 2.1 of WebKit to have high quality transforms.