How to scale image in paintevent
Unsolved
General and Desktop
-
Hi,
Can anyone provide , how to scale the image in paintevent,
i am using QImage and then painting on QWidget.
using paintevent.?Thanks,
-
Hi,
Can anyone provide , how to scale the image in paintevent,
i am using QImage and then painting on QWidget.
using paintevent.?Thanks,
-
and as a note
it returns the scaled image as copy. its NOT affecting the original.
so u must do
QImage scaled=orgpic.scaled(xx)