diff options
Diffstat (limited to 'include/qpdf/QPDFMatrix.hh')
-rw-r--r-- | include/qpdf/QPDFMatrix.hh | 35 |
1 files changed, 14 insertions, 21 deletions
diff --git a/include/qpdf/QPDFMatrix.hh b/include/qpdf/QPDFMatrix.hh index fb005e50..7abe6ec6 100644 --- a/include/qpdf/QPDFMatrix.hh +++ b/include/qpdf/QPDFMatrix.hh @@ -2,22 +2,19 @@ // // This file is part of qpdf. // -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at +// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except +// in compliance with the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +// Unless required by applicable law or agreed to in writing, software distributed under the License +// is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express +// or implied. See the License for the specific language governing permissions and limitations under +// the License. // -// Versions of qpdf prior to version 7 were released under the terms -// of version 2.0 of the Artistic License. At your option, you may -// continue to consider qpdf to be licensed under those terms. Please -// see the manual for additional information. +// Versions of qpdf prior to version 7 were released under the terms of version 2.0 of the Artistic +// License. At your option, you may continue to consider qpdf to be licensed under those terms. +// Please see the manual for additional information. #ifndef QPDFMATRIX_HH #define QPDFMATRIX_HH @@ -26,8 +23,7 @@ #include <qpdf/QPDFObjectHandle.hh> #include <string> -// This class represents a PDF transformation matrix using a tuple -// such that +// This class represents a PDF transformation matrix using a tuple such that // // ┌ ┐ // │ a b 0 │ @@ -45,8 +41,7 @@ class QPDFMatrix QPDF_DLL QPDFMatrix(QPDFObjectHandle::Matrix const&); - // Returns the six values separated by spaces as real numbers with - // trimmed zeroes. + // Returns the six values separated by spaces as real numbers with trimmed zeroes. QPDF_DLL std::string unparse() const; @@ -75,14 +70,12 @@ class QPDFMatrix QPDF_DLL void transform(double x, double y, double& xp, double& yp) const; - // Transform a rectangle by creating a new rectangle that tightly - // bounds the polygon resulting from transforming the four - // corners. + // Transform a rectangle by creating a new rectangle that tightly bounds the polygon resulting + // from transforming the four corners. QPDF_DLL QPDFObjectHandle::Rectangle transformRectangle(QPDFObjectHandle::Rectangle r) const; - // operator== tests for exact equality, not considering deltas for - // floating point. + // operator== tests for exact equality, not considering deltas for floating point. QPDF_DLL bool operator==(QPDFMatrix const& rhs) const; QPDF_DLL |