Ini
5th January 2016, 01:58
Hello,
when I scale a pixmap via scaled() I can set a Qt::Transformationmode.
when I draw a picture via painter.drawPixmap, where can i set the TrandformationMode there? It looks not very well atm
thanks
edit: i already found:
painter.setRenderHint(QPainter::SmoothPixmapTransf orm);
when I scale a pixmap via scaled() I can set a Qt::Transformationmode.
when I draw a picture via painter.drawPixmap, where can i set the TrandformationMode there? It looks not very well atm
thanks
edit: i already found:
painter.setRenderHint(QPainter::SmoothPixmapTransf orm);