diff options
Diffstat (limited to 'libqpdf/QPDFMatrix.cc')
-rw-r--r-- | libqpdf/QPDFMatrix.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libqpdf/QPDFMatrix.cc b/libqpdf/QPDFMatrix.cc index 2b269099..42dfcf5d 100644 --- a/libqpdf/QPDFMatrix.cc +++ b/libqpdf/QPDFMatrix.cc @@ -142,3 +142,14 @@ QPDFMatrix::transformRectangle(QPDFObjectHandle::Rectangle r) const *std::max_element(tx.begin(), tx.end()), *std::max_element(ty.begin(), ty.end())); } + +bool +QPDFMatrix::operator==(QPDFMatrix const& rhs) const +{ + return ((this->a == rhs.a) && + (this->b == rhs.b) && + (this->c == rhs.c) && + (this->d == rhs.d) && + (this->e == rhs.e) && + (this->f == rhs.f)); +} |