Issue #10: Ability to cancel the operation

This commit is contained in:
Jakub Melka
2022-02-04 20:03:23 +01:00
parent 284f0c4db8
commit 49cab7937a
15 changed files with 302 additions and 61 deletions

View File

@@ -20,6 +20,7 @@
#include "pdfobject.h"
#include "pdfcolorspaces.h"
#include "pdfoperationcontrol.h"
#include <QByteArray>
@@ -73,7 +74,9 @@ public:
PDFRenderErrorReporter* errorReporter);
/// Returns image transformed from image data and color space
QImage getImage(const PDFCMS* cms, PDFRenderErrorReporter* reporter) const;
QImage getImage(const PDFCMS* cms,
PDFRenderErrorReporter* reporter,
const PDFOperationControl* operationControl) const;
/// Returns rendering intent of the image
RenderingIntent getRenderingIntent() const { return m_renderingIntent; }