Obsolete Members for QSvgRenderer
The following members of class QSvgRenderer are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
| ||matrixForElement(const QString &id) const|
Member Function Documentation
This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Use transformForElement() instead.
Returns the transformation matrix for the element with the given id. The matrix is a product of the transformation of the element's parents. The transformation of the element itself is not included.
To find the bounding rectangle of the element in logical coordinates, you can apply the matrix on the rectangle returned from boundsOnElement().
This function was introduced in Qt 4.2.
See also boundsOnElement().
© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.