diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-04-02 23:14:10 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-04-04 14:10:40 +0200 |
commit | 12f1eb15ca3fed6310402847559a7c99d3c77847 (patch) | |
tree | 8935675b623c6f3b4914b8b44f7fa5f2816a9241 /include/qpdf/QPDFMatrix.hh | |
parent | f20fa61eb4c323eb1642c69c236b3d9a1f8b2cdb (diff) | |
download | qpdf-12f1eb15ca3fed6310402847559a7c99d3c77847.tar.zst |
Programmatically apply new formatting to code
Run this:
for i in **/*.cc **/*.c **/*.h **/*.hh; do
clang-format < $i >| $i.new && mv $i.new $i
done
Diffstat (limited to 'include/qpdf/QPDFMatrix.hh')
-rw-r--r-- | include/qpdf/QPDFMatrix.hh | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/qpdf/QPDFMatrix.hh b/include/qpdf/QPDFMatrix.hh index ecf13bb3..f0516dbd 100644 --- a/include/qpdf/QPDFMatrix.hh +++ b/include/qpdf/QPDFMatrix.hh @@ -22,8 +22,8 @@ #ifndef QPDFMATRIX_HH #define QPDFMATRIX_HH -#include <qpdf/QPDFObjectHandle.hh> #include <qpdf/DLL.h> +#include <qpdf/QPDFObjectHandle.hh> #include <string> // This class represents a PDF transformation matrix using a tuple @@ -41,8 +41,7 @@ class QPDFMatrix QPDF_DLL QPDFMatrix(); QPDF_DLL - QPDFMatrix(double a, double b, double c, - double d, double e, double f); + QPDFMatrix(double a, double b, double c, double d, double e, double f); QPDF_DLL QPDFMatrix(QPDFObjectHandle::Matrix const&); @@ -83,21 +82,22 @@ class QPDFMatrix // bounds the polygon resulting from transforming the four // corners. QPDF_DLL - QPDFObjectHandle::Rectangle transformRectangle( - QPDFObjectHandle::Rectangle r) const; + QPDFObjectHandle::Rectangle + transformRectangle(QPDFObjectHandle::Rectangle r) const; // ABI: delete non-const version QPDF_DLL - QPDFObjectHandle::Rectangle transformRectangle( - QPDFObjectHandle::Rectangle r); + QPDFObjectHandle::Rectangle + transformRectangle(QPDFObjectHandle::Rectangle r); // operator== tests for exact equality, not considering deltas for // floating point. QPDF_DLL bool operator==(QPDFMatrix const& rhs) const; QPDF_DLL - bool operator!=(QPDFMatrix const& rhs) const + bool + operator!=(QPDFMatrix const& rhs) const { - return ! operator==(rhs); + return !operator==(rhs); } double a; |