Editor plugin: Image

This commit is contained in:
Jakub Melka
2024-06-15 16:03:54 +02:00
parent 05cf65b381
commit aa92fabd79
5 changed files with 74 additions and 5 deletions

View File

@ -29,7 +29,6 @@ class PDF4QTLIBCORESHARED_EXPORT PDFPageContentEditorContentStreamBuilder
public:
PDFPageContentEditorContentStreamBuilder(PDFDocument* document);
void writeStateDifference(QTextStream& stream, const PDFPageContentProcessorState& state);
void writeEditedElement(const PDFEditedPageContentElement* element);
const QByteArray& getOutputContent() const;
@ -49,7 +48,11 @@ public:
bool isStroking,
bool isFilling);
void writeImage(const QImage& image, const QRectF& rectangle);
private:
void writeStateDifference(QTextStream& stream, const PDFPageContentProcessorState& state);
void writePainterPath(QTextStream& stream,
const QPainterPath& path,
bool isStroking,