[Interest] QPainter rotate bounding rect?

Giuseppe D'Angelo giuseppe.dangelo at kdab.com
Fri Mar 2 21:28:13 CET 2018

Il 02/03/2018 18:51, Jason H ha scritto:
> How can I find the proper size that out should be, and where to place the image for drawImage within the new bounding box?

Use QTransform::mapRect() or a similar function.

Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4007 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180302/7061078d/attachment.bin>

More information about the Interest mailing list