Problem with QSvgRenderer.render in PyQt5.14.1?

ian caines <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <CAG0iR72_vuC1Y0A+QQwsfT276ZBkaXALpw1VugCz=U1bEHWa6A@mail.gmail.com>
QSvgRenderer does not seem to be working correctly with PyQt5.14.1.  In
particular, calling the render(QPainter, QRectF) method causes the svg
image to be rendered in the wrong location.  It seems like what is
happening is that whatever scaling is being applied to the height and width
of the svg to fit in the QRectF is also being applied to the x and y
coordinates of the QRectF. The issue occurs on both OSX and Windows.  The
same code was working as expected under PyQt5.13.2.  Not sure if this is an
underlying problem/change with Qt?

Best,
Ian

_______________________________________________
PyQt mailing list    [email protected]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.