Comment about QPDFMatrix and QPDFObjectHandle::Matrix

This commit is contained in:
Jay Berkenbilt 2021-02-21 08:06:08 -05:00
parent 92fbc6fdf5
commit aa848126cb
2 changed files with 4 additions and 3 deletions

2
TODO
View File

@ -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
======================

View File

@ -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: