PDA

View Full Version : How to merge two QPixmaps in to one.



babu198649
17th August 2008, 14:30
Hi
i want to make a pixmap that will display a image as if two individual pixmaps have been placed over each other.The QPixmap::copy ( const QRect & rectangle = QRect() ) const will copy the contents of one pixmap in to another and then we can draw on the copied pixmap, but is it possible to merge two pixmaps in to one.

jacek
17th August 2008, 14:59
Use QPainter. See the image composition example.