aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFMatrix.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-04-16 01:54:34 +0200
committerJay Berkenbilt <ejb@ql.org>2022-04-16 16:41:46 +0200
commit2a7d2b63c2a7284d1b1179eefbf64f5dd29aa510 (patch)
tree12ed9d6f504f7a5aa72cb5c487d7cb4f926c4d91 /libqpdf/QPDFMatrix.cc
parentdd3596636756c089532f1642c4d63666b5544855 (diff)
downloadqpdf-2a7d2b63c2a7284d1b1179eefbf64f5dd29aa510.tar.zst
Make ABI-breaking changes that don't modify API at all
* Merge overloaded functions by adding default values * Remove non-const methods that are identical to const methods
Diffstat (limited to 'libqpdf/QPDFMatrix.cc')
-rw-r--r--libqpdf/QPDFMatrix.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/libqpdf/QPDFMatrix.cc b/libqpdf/QPDFMatrix.cc
index 75049130..9fb24888 100644
--- a/libqpdf/QPDFMatrix.cc
+++ b/libqpdf/QPDFMatrix.cc
@@ -110,12 +110,6 @@ QPDFMatrix::rotatex90(int angle)
}
void
-QPDFMatrix::transform(double x, double y, double& xp, double& yp)
-{
- const_cast<QPDFMatrix const*>(this)->transform(x, y, xp, yp);
-}
-
-void
QPDFMatrix::transform(double x, double y, double& xp, double& yp) const
{
xp = (this->a * x) + (this->c * y) + this->e;
@@ -123,12 +117,6 @@ QPDFMatrix::transform(double x, double y, double& xp, double& yp) const
}
QPDFObjectHandle::Rectangle
-QPDFMatrix::transformRectangle(QPDFObjectHandle::Rectangle r)
-{
- return const_cast<QPDFMatrix const*>(this)->transformRectangle(r);
-}
-
-QPDFObjectHandle::Rectangle
QPDFMatrix::transformRectangle(QPDFObjectHandle::Rectangle r) const
{
std::vector<double> tx(4);