diff options
author | Jay Berkenbilt <ejb@ql.org> | 2021-02-21 14:06:08 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2021-02-21 14:06:19 +0100 |
commit | aa848126cb6ceb00bd93e71d0ce53d93ee824897 (patch) | |
tree | a010aabe4bbc70882c5137d879ebaab81c1df884 | |
parent | 92fbc6fdf56bad6aff8c9f3f1a3032d5ad36ec51 (diff) | |
download | qpdf-aa848126cb6ceb00bd93e71d0ce53d93ee824897.tar.zst |
Comment about QPDFMatrix and QPDFObjectHandle::Matrix
-rw-r--r-- | TODO | 2 | ||||
-rw-r--r-- | include/qpdf/QPDFObjectHandle.hh | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -97,8 +97,6 @@ Comments appear in the code prefixed by "ABI" * Consider having addArrayItem, replaceKey, etc. return the new value so you can say auto oh = dict.replaceKey("/Key", QPDFObjectHandle::newSomething()); -* Do something about QPDFObjectHandle::Matrix and QPDFMatrix. They - should be the same thing. Page splitting/merging ====================== diff --git a/include/qpdf/QPDFObjectHandle.hh b/include/qpdf/QPDFObjectHandle.hh index 07c5b427..dc883102 100644 --- a/include/qpdf/QPDFObjectHandle.hh +++ b/include/qpdf/QPDFObjectHandle.hh @@ -267,7 +267,10 @@ class QPDFObjectHandle double ury; }; - // Convenience object for transformation matrices + // Convenience object for transformation matrices. See also + // QPDFMatrix. Unfortunately we can't replace this with QPDFMatrix + // because QPDFMatrix's default constructor creates the identity + // transform matrix and this one is all zeroes. class Matrix { public: |