On Wednesday 20 August 2008, Matthias Fuchs wrote:
> Yet I have no clue how to combine two pictures in one QImage -- if that
> is even possible -- especially if one is wider than the other.

open a QPainter on the one image, and paint the other one into it. if you need 
to combine the two of them vertically, then create a new image first that is 
the combined height of the images and the greater of the two heights; open a 
QPainter on that new image and paint the images into it.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Trolltech

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to