Annotation painting

This commit is contained in:
Jakub Melka
2020-03-07 17:38:50 +01:00
parent 92c58f68ff
commit 0b2d94d115
17 changed files with 363 additions and 47 deletions

View File

@ -134,6 +134,8 @@ public:
QRectF getRotatedMediaBoxMM() const;
QRectF getRotatedCropBox() const;
inline const std::vector<PDFObjectReference>& getAnnotations() const { return m_annots; }
static QRectF getRotatedBox(const QRectF& rect, PageRotation rotation);
private:
@ -158,6 +160,7 @@ private:
PDFObject m_resources;
PDFObject m_contents;
PDFObjectReference m_pageReference;
std::vector<PDFObjectReference> m_annots;
};
} // namespace pdf