aboutsummaryrefslogtreecommitdiffstats
path: root/libqpdf/QPDFMatrix.cc
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2021-02-12 10:44:15 +0100
committerJay Berkenbilt <ejb@ql.org>2021-02-13 08:30:00 +0100
commite2593e2efe140d47870b0c511cbf5160db080edd (patch)
treefe3879e2e4a916fe02b513f24e88ebca58331563 /libqpdf/QPDFMatrix.cc
parent07f40bd25442f25c0af948ae1b0dac7fdff1688c (diff)
downloadqpdf-e2593e2efe140d47870b0c511cbf5160db080edd.tar.zst
Move QPDFMatrix into the public API
Diffstat (limited to 'libqpdf/QPDFMatrix.cc')
-rw-r--r--libqpdf/QPDFMatrix.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/libqpdf/QPDFMatrix.cc b/libqpdf/QPDFMatrix.cc
index c78154aa..18122d72 100644
--- a/libqpdf/QPDFMatrix.cc
+++ b/libqpdf/QPDFMatrix.cc
@@ -118,9 +118,6 @@ QPDFMatrix::transform(double x, double y, double& xp, double& yp)
QPDFObjectHandle::Rectangle
QPDFMatrix::transformRectangle(QPDFObjectHandle::Rectangle r)
{
- // Transform a rectangle by creating a new rectangle the tightly
- // bounds the polygon resulting from transforming the four
- // corners.
std::vector<double> tx(4);
std::vector<double> ty(4);
transform(r.llx, r.lly, tx.at(0), ty.at(0));