diff options
author | Jay Berkenbilt <ejb@ql.org> | 2021-02-21 11:11:31 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2021-02-21 12:36:30 +0100 |
commit | 901f1a788c6dcb5291539fe4edc271cf53d85a2a (patch) | |
tree | d292df8a8bfd710fec940f19223c6424bd581d45 /include | |
parent | 05eb5826d8b8beb19e8ec65915af1476e7dd1db3 (diff) | |
download | qpdf-901f1a788c6dcb5291539fe4edc271cf53d85a2a.tar.zst |
Enhance QPDFMatrix API
Diffstat (limited to 'include')
-rw-r--r-- | include/qpdf/QPDFMatrix.hh | 1 | ||||
-rw-r--r-- | include/qpdf/QPDFObjectHandle.hh | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/include/qpdf/QPDFMatrix.hh b/include/qpdf/QPDFMatrix.hh index 8a8bff60..9448fb99 100644 --- a/include/qpdf/QPDFMatrix.hh +++ b/include/qpdf/QPDFMatrix.hh @@ -90,7 +90,6 @@ class QPDFMatrix QPDFObjectHandle::Rectangle transformRectangle( QPDFObjectHandle::Rectangle r); - private: double a; double b; double c; diff --git a/include/qpdf/QPDFObjectHandle.hh b/include/qpdf/QPDFObjectHandle.hh index efcd653a..bb877622 100644 --- a/include/qpdf/QPDFObjectHandle.hh +++ b/include/qpdf/QPDFObjectHandle.hh @@ -47,6 +47,7 @@ class QPDF_Array; class QPDFTokenizer; class QPDFExc; class Pl_QPDFTokenizer; +class QPDFMatrix; class QPDFObjectHandle { @@ -522,6 +523,8 @@ class QPDFObjectHandle QPDF_DLL static QPDFObjectHandle newArray(Matrix const&); QPDF_DLL + static QPDFObjectHandle newArray(QPDFMatrix const&); + QPDF_DLL static QPDFObjectHandle newDictionary(); QPDF_DLL static QPDFObjectHandle newDictionary( @@ -535,6 +538,8 @@ class QPDFObjectHandle // form of newArray. QPDF_DLL static QPDFObjectHandle newFromMatrix(Matrix const&); + QPDF_DLL + static QPDFObjectHandle newFromMatrix(QPDFMatrix const&); // Create a new stream and associate it with the given qpdf // object. A subsequent call must be made to replaceStreamData() |