diff options
Diffstat (limited to 'libqpdf/QPDFMatrix.cc')
-rw-r--r-- | libqpdf/QPDFMatrix.cc | 12 |
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); |