Angelo Moriconi
24th October 2008, 08:53
Hi all !
I'm writing a drawing tools that draws a brush shape (QPixmap) directly on a QPixmap using Qt painting engine.
I've some aliasing issues due to fact that seems that when I draw a QPixmap on a QPixmap using floating values to set the start position, the rendering hint QPainter::SmoothPixmapTransform seems to doesn't work properly.
I'm not sure that QPainter support subpixel precision on floating values, since I obtain the same result with the rendering hint enabled or disabled.
There is some workaround or some tips to enable subpixel precision or to have a good result ?
Thanks.
I'm writing a drawing tools that draws a brush shape (QPixmap) directly on a QPixmap using Qt painting engine.
I've some aliasing issues due to fact that seems that when I draw a QPixmap on a QPixmap using floating values to set the start position, the rendering hint QPainter::SmoothPixmapTransform seems to doesn't work properly.
I'm not sure that QPainter support subpixel precision on floating values, since I obtain the same result with the rendering hint enabled or disabled.
There is some workaround or some tips to enable subpixel precision or to have a good result ?
Thanks.