summaryrefslogtreecommitdiffstats
path: root/src/pdf/qpdfdocument.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pdf/qpdfdocument.h')
-rw-r--r--src/pdf/qpdfdocument.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pdf/qpdfdocument.h b/src/pdf/qpdfdocument.h
index 32baebbcb..c389ab570 100644
--- a/src/pdf/qpdfdocument.h
+++ b/src/pdf/qpdfdocument.h
@@ -2,6 +2,7 @@
#define QPDFDOCUMENT_H
#include <QObject>
+#include <QImage>
#include "qtpdfglobal.h"
class QPdfDocumentPrivate;
@@ -28,6 +29,10 @@ public:
int pageCount() const;
+ QSizeF pageSize(int page) const;
+
+ QImage render(int page, const QSizeF &pageSize);
+
private:
QScopedPointer<QPdfDocumentPrivate> d;
};