Re: [Interest] QPainter rotate bounding rect?

2018-03-02 Thread Giuseppe D'Angelo
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. HTH, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Senior Software Engineer

Re: [Interest] QPainter rotate bounding rect?

2018-03-02 Thread Murphy, Sean
I didn't check to see if it's built in to Qt or not, but here's the math you need to make it work yourself http://iiif.io/api/annex/notes/rotation/ Sean This message has been scanned for malware by Forcepoint. www.forcepoint.com ___ Interest mailing