View Full Version : QImage reflection
mvbhavsar
19th September 2011, 07:30
Hi,
I want to have reflection of QImage so that image looks like having mirrored image at bottom merged in ground. How to achieve this
Regards
Manish
Lykurg
19th September 2011, 07:36
Well, create a QPixmap, create a QPainter on it and draw the image, draw it again using QImage::mirrored() and finally "play" with QPainter::CompositionMode to get the fade out effect on the bottom.
mvbhavsar
19th September 2011, 07:50
Thanks Lykurg.
It is achieved using your advice.
Thanks
Manish
Lykurg
19th September 2011, 09:06
6:30 Question
6:36 Answer/Advice
6:50 Success
Wow, we are a really fast board! :)
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.