summaryrefslogtreecommitdiff
path: root/src/svg/qsvgrenderer.cpp
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2020-02-03 13:32:25 +0100
committerJarek Kobus <jaroslaw.kobus@qt.io>2020-02-06 11:23:02 +0100
commit5039143e6066243ff8a3ff235e395811a5eaf4df (patch)
tree27b57d7aa609ef83e013245fe5aa0e838516b9c4 /src/svg/qsvgrenderer.cpp
parentbb9ef7c1804d109b33923bae2f48c48aa4f4d3b7 (diff)
downloadqtsvg-5039143e6066243ff8a3ff235e395811a5eaf4df.tar.gz
Get rid of QMatrix
Task-number: QTBUG-81628 Change-Id: I31f5ffeff1e20f2c77a67325e58a0522d25cb1b7 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/svg/qsvgrenderer.cpp')
-rw-r--r--src/svg/qsvgrenderer.cpp27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/svg/qsvgrenderer.cpp b/src/svg/qsvgrenderer.cpp
index 0097ec2..7cc7968 100644
--- a/src/svg/qsvgrenderer.cpp
+++ b/src/svg/qsvgrenderer.cpp
@@ -507,33 +507,6 @@ bool QSvgRenderer::elementExists(const QString &id) const
return exists;
}
-#if QT_DEPRECATED_SINCE(5, 15)
-QT_WARNING_PUSH
-QT_WARNING_DISABLE_DEPRECATED
-/*!
- \since 4.2
- \deprecated
-
- Use transformForElement() instead.
-
-
- Returns the transformation matrix for the element
- with the given \a 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().
-
- \sa boundsOnElement()
-*/
-QMatrix QSvgRenderer::matrixForElement(const QString &id) const
-{
- return transformForElement(id).toAffine();
-}
-QT_WARNING_POP
-#endif // QT_DEPRECATED_SINCE(5, 15)
-
/*!
\since 5.15